• Stars
    star
    265
  • Rank 149,658 (Top 4 %)
  • Language SCSS
  • License
    MIT License
  • Created about 7 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Jekyll theme for creating project documentation websites

Jekyll Doc Theme

Go to the website for detailed information and demo.

Running locally

You need Ruby and gem before starting, then:

# install bundler
gem install bundler

# clone the project
git clone https://github.com/aksakalli/jekyll-doc-theme.git
cd jekyll-doc-theme

# install dependencies
bundle install

# run jekyll with dependencies
bundle exec jekyll serve

Theme Assets

As of the move to support Github Pages a number of files have been relocated to the /asset folder.

  • css/
  • fonts/
  • img/
  • js/
  • 404.html
  • allposts.html
  • search.json

Docker

Alternatively, you can deploy it using the multi-stage Dockerfile that serves files from Nginx for better performance in production.

Build the image for your site's JEKYLL_BASEURL:

docker build --build-arg JEKYLL_BASEURL="/your-base/url" -t jekyll-doc-theme .

(or leave it empty for root: JEKYLL_BASEURL="") and serve it:

docker run -p 8080:80 jekyll-doc-theme

Github Pages

The theme is also available to Github Pages by making use of the Remote Theme plugin:

Gemfile

# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
gem "github-pages", group: :jekyll_plugins

_config.yml

# Configure the remote_theme plugin with the gh-pages branch
# or the specific tag
remote_theme: aksakalli/jekyll-doc-theme@gh-pages   

Theme Assets

Files from your project will override any theme file with the same name. For example, the most comment use case for this, would be to modify your sites theme or colors. To do this, the following steps should be taken:

  1. Copy the contents of the aksakalli/jekyll-doc-theme/asset/css/main.scss to your own project (maintaining folder structure)
  2. Modify the variables you wish to use prior to the import statements, for example:
// Bootstrap variable overrides
$grid-gutter-width: 30px !default;
$container-desktop: (900px + $grid-gutter-width) !default;
$container-large-desktop: (900px + $grid-gutter-width) !default;

@import // Original import statement
  {% if site.bootwatch %}
    "bootswatch/{{site.bootwatch | downcase}}/variables",
  {% endif %}

  "bootstrap",

  {% if site.bootwatch %}
    "bootswatch/{{site.bootwatch | downcase}}/bootswatch",
  {% endif %}

  "syntax-highlighting",
  "typeahead",
  "jekyll-doc-theme"
;

// More custom overrides.
  1. Import or override any other theme styles after the standard imports

Projects using Jekyll Doc Theme

License

Released under the MIT license.

More Repositories

1

gtop

System monitoring dashboard for terminal
JavaScript
9,438
star
2

todo-spring-angular

Todo demo with Spring Boot + AngularJS + Flyway + PostgreSQL + Docker
Java
34
star
3

sandraREST

Cassandra Manager REST API & Web UI
JavaScript
25
star
4

BugAlgorithms

bug0, bug1 and bug2 motion planning algorithms implementation in Webots simulation environment
Protocol Buffer
21
star
5

dress

๐Ÿ‘— The Hackathon App: Fifty Shades of Dress
Objective-C
19
star
6

EsperIoT

Small and simple stream-based CEP tool for IoT devices connected to an MQTT broker
Java
18
star
7

patent-analysis

Analyzing patent network data by downloading patentsview.org into MongoDB
Jupyter Notebook
14
star
8

fullpage-jekyll

fullPage.js & Bootstrap 4 template for Jekyll
HTML
13
star
9

restacey

Responsive template for Stacey
CSS
12
star
10

dockerfiles

Collection of different docker images
Shell
10
star
11

socket.io-hello-world

A simple hello world application to test socket.io on Smart TV and PC.
HTML
8
star
12

heatmap-wms

Rendering Geo Heatmap with a WMS layer
Python
5
star
13

angular2-github-ui

Github UI using api.github.com in Angular2 TypeScript
TypeScript
5
star
14

leap-mouse

Leap Motion controller for websites
JavaScript
2
star
15

openlr-decoder

A web API to decode base 64 string into OpenLR objects
Java
2
star
16

deep-learning-course

1
star
17

geniuses

Genius API Client
Python
1
star
18

SortingAlgorithms

Quicksort, Insertion Sort and Radix Sort Comparison
C++
1
star
19

aksakalli.github.io

๐Ÿ’ญ Source for
Jupyter Notebook
1
star
20

graph-min-hash

Applying Broder's Min-Hash method to Graphs
Java
1
star