Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marella/jekyll-theme-documentation
A Jekyll theme for hosting documentation on GitHub Pages.
https://github.com/marella/jekyll-theme-documentation
github-pages jekyll jekyll-theme
Last synced: 2 months ago
JSON representation
A Jekyll theme for hosting documentation on GitHub Pages.
- Host: GitHub
- URL: https://github.com/marella/jekyll-theme-documentation
- Owner: marella
- License: mit
- Created: 2018-05-01T13:54:07.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-07-08T13:07:59.000Z (over 1 year ago)
- Last Synced: 2024-10-03T09:16:29.145Z (3 months ago)
- Topics: github-pages, jekyll, jekyll-theme
- Language: HTML
- Homepage: https://marella.github.io/jekyll-theme-documentation/
- Size: 457 KB
- Stars: 17
- Watchers: 2
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
---
permalink: /
---# jekyll-theme-documentation
A Jekyll theme for hosting documentation on GitHub Pages. You can [preview the theme to see what it looks like](https://marella.github.io/jekyll-theme-documentation/), or even [use it today](#usage).
## Usage
1. Add the following to your site's `_config.yml`:
```yml
remote_theme: marella/jekyll-theme-documentation
```1. Optionally, if you'd like to preview your site on your computer, add the following to your site's `Gemfile`:
```ruby
gem "github-pages", group: :jekyll_plugins
```## Configuration
The following variables will be used, if set in your site's `_config.yml`:
```yml
title: [Your project title]
toc_min: 2 # Min heading for ToC - h2
toc_max: 3 # Max heading for ToC - h3
hide_toc: [Hide table of contents for all pages]
nav: [List of navigation links]
owner_name: [Your name]
owner_url: [Your website url]
google_analytics: [Your Google Analytics tracking ID]
```It is recommended to set `permalink: pretty` when `nav` is set. See [`_config.yml`](https://github.com/marella/jekyll-theme-documentation/blob/master/_config.yml).
The following variables will be used, if set in your page's YAML front matter:
```yml
hide_toc: [Hide table of contents for current page]
hide_nav: [Hide navigation links for current page]
```It is recommended to set `permalink: /` for `README` when `nav` is set.
## Development
If you'd like to preview the theme locally (for example, in the process of proposing a change):
1. Clone the theme's repository (`git clone https://github.com/marella/jekyll-theme-documentation`)
1. `cd` into the theme's directory
1. Run `npm install` to install the necessary dependencies
1. Run `npm start` to start the preview server
1. Visit [`localhost:4000`](http://localhost:4000) in your browser to preview the theme