academicpages.github.io README

The project's README from github.com/academicpages/academicpages.github.io. As one markdown file: README.md.

Academic Pages

Academic Pages is a GitHub Pages template for personal and professional portfolio-oriented websites.

Academic Pages template example

Getting Started

  1. Register a GitHub account if you don't have one and confirm your e-mail (required!)
  2. Click the "Use this template" button in the top right.
  3. On the "New repository" page, enter your public repository name as "[your GitHub username].github.io", which will also be your website's URL.
  4. Edit site-wide configuration in _config.yml and double check that the url is the one that you just selected in the previous step and that repository reflects the correct path for your repository.
  5. Add your site content, upload any files (like PDFs, .zip files, etc.) to the files/ directory. They will appear at https://[your GitHub username].github.io/files/example.pdf.
  6. Check status by going to the repository settings, in the "GitHub pages" section
  7. (Optional) Use the Jupyter notebooks or python scripts in the markdown_generator folder to generate markdown files for publications and talks from a TSV file.

See more info at https://academicpages.github.io/

Additional Tutorials

Additional tutorials for working with the Academic Pages template can be found at the following sites:

Running locally

When you are initially working on your website, it is very useful to be able to preview the changes locally before pushing them to GitHub. To work locally you will need to:

  1. Clone the repository and made updates as detailed above.

Using a different IDE

  1. Make sure you have ruby-dev, bundler, and nodejs installed

    On most Linux distributions and Windows Subsystem Linux the command is:

    sudo apt install ruby-dev ruby-bundler nodejs
    

    If you see error Unable to locate package ruby-bundler, Unable to locate package nodejs , run the following:

    sudo apt update && sudo apt upgrade -y
    

    then try running sudo apt install ruby-dev ruby-bundler nodejs again.

    On MacOS the commands are:

    brew install ruby
    brew install node
    gem install bundler
    
  2. Run bundle install to install ruby dependencies. If you get errors, delete Gemfile.lock and try again.

    If you see file permission error like Fetching bundler-2.6.3.gem ERROR: While executing gem (Gem::FilePermissionError) You don't have write permissions for the /var/lib/gems/3.2.0 directory. or Bundler::PermissionError: There was an error while trying to write to /usr/local/bin. Install Gems Locally (Recommended):

    bundle config set --local path 'vendor/bundle'
    

    then try run bundle install again. If succeeded, you should see a folder called vendor and .bundle.

  3. Run jekyll serve -l -H localhost to generate the HTML and serve it from localhost:4000 the local server will automatically rebuild and refresh the pages on change to Markdown (*.md) and HTML files, while changes to the core template and configuration (i.e., _config.yml) will require stopping and restarting Jekyll. You may also try bundle exec jekyll serve -l -H localhost to ensure jekyll to use specific dependencies on your own local machine.

If you are running on Linux it may be necessary to install some additional dependencies prior to being able to run locally: sudo apt install build-essential gcc make

Using Docker

Working from a different OS, or just want to avoid installing dependencies? You can use the provided Dockerfile to build a container that will run the site for you if you have Docker installed.

You can build and execute the container by running the following command in the repository:

chmod -R 777 .
docker compose up

You should now be able to access the website from localhost:4000.

Using the DevContainer in VS Code

If you are using Visual Studio Code you can use the Dev Container that comes with this Repository. Normally VS Code detects that a development container configuration is available and asks you if you want to use the container. If this doesn't happen you can manually start the container by F1->DevContainer: Reopen in Container. This restarts your VS Code in the container and automatically hosts your academic page locally on http://localhost:4000. All changes will be updated live to that page after a few seconds.

Maintenance

Bug reports and feature requests to the template should be submitted via GitHub. For questions concerning how to style the template, please feel free to start a new discussion on GitHub.

This repository was forked (then detached) by Stuart Geiger from the Minimal Mistakes Jekyll Theme, which is © 2016 Michael Rose and released under the MIT License (see LICENSE.md). It is currently being maintained by Robert Zupko, and additional maintainers would be welcome.

Bugfixes and enhancements

If you have bugfixes and enhancements that you would like to submit as a pull request, you will need to fork this repository as opposed to using it as a template. This will also allow you to synchronize your copy of the template to your fork as well.

Unfortunately, one logistical issue with a template theme like Academic Pages that makes it a little tricky to get bug fixes and updates to the core theme. If you use this template and customize it, you will probably get merge conflicts if you attempt to synchronize, although rebasing the changes from this template will work along with manually cherry picking the relevant commits. If you are not comfortable with the Git command line, you can save your various .yml configuration files and Markdown files, delete the repository, and fork it again.


pages-build-deployment GitHub contributors GitHub release GitHub license

GitHub stars GitHub forks

academicpages.github.io (academicpages/academicpages.github.io)

Searching Database…

这是什么?Academic Pages 是一个 GitHub Pages 模板,用于搭建基于个人和职业作品集的网站,主要面向想要做简历(CV)、论文和演讲类网站的学术人员。
这是现成的网站,还是只是一个我需要在上面再开发的主题?它是一个模板仓库:点击 'Use this template' 即可获得你自己的副本,然后直接编辑 Markdown/HTML 文件和 config.yml,而不是把它当作库来安装。
我要怎样才能让这个网站上线?点击 'Use this template' 按钮,将新仓库命名为 '[your username].github.io',编辑 config.yml,填入你的信息和正确的网址,添加内容和文件,然后在仓库设置中检查 GitHub Pages 的状态。
在推送之前,我需要什么才能在本地预览修改?你需要先安装 ruby-dev、bundler 和 nodejs,然后运行 'bundle install',再运行 'jekyll serve -l -H localhost';或者使用提供的 Dockerfile 或 VS Code DevContainer,无需安装任何东西。
以后模板更新能顺利合并到我自定义的网站中吗?不太容易。一旦你自定义了模板,同步上游修复时很可能会遇到合并冲突,因此需要进行 rebase 或手动 cherry-pick 挑选修改。
这个模板究竟是为谁打造的?为学者和研究人员打造,适合想要一个个人网站来展示论文、演讲和简历等内容的人,并且可以免费托管在 GitHub Pages 上。
我可以自动生成我的论文和演讲页面吗?可以。markdowngenerator 文件夹中包含 Jupyter 笔记本或 Python 脚本,能把 TSV 文件转换为你的论文和演讲所需的 Markdown 文件。
Academic Pages 实际上是基于哪个主题开发的?它是从 Michael Rose 的 Minimal Mistakes Jekyll 主题派生(fork)出来的,之后已脱离关联;该主题最初由 Stuart Geiger 改编,现由 Robert Zupko 维护。
我能否在容器中运行网站,而不是在本地安装 Ruby/Node?可以。有一个 Dockerfile,你可以构建并运行它,在 localhost:4000 上提供网站服务;此外还有一个开箱即用的 VS Code DevContainer,可以自动托管网站。
Size
57.7 MB
Stars
17.7K
Age
10y
Commits · 90 Days