No release in over 3 years
Low commit activity in last 3 years
The Jekyll theme for documenting software development projects.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.1.4
~> 12.0

Runtime

 Project Readme

Jekyll Theme: Alta Docs Theme

The Jekyll theme for documenting software development projects.

Screenshot

Basic usage

New Jekyll project

  1. Install Jekyll

     gem install bundler jekyll
    
  2. Create Jekyll project:

     jekyll new my-project
    
  3. Go to the project:

     cd my-project
    
  4. Run:

     bundle exec jekyll serve
     # OR
     bundle exec jekyll serve --host xxx.xx.xxx.xx --port 4001
    

Use jekyll-theme-alta-docs

  1. Change Gemfile

     # gem "minima", "~> 2.5" # <-- Remove or comment
     gem "jekyll-theme-alta-docs" # <--- Add
    
  2. Run:

     $ bundle install
    
  3. Create _docs/ folder

  4. Edit _config.yml:

     # Set new theme:
     theme: jekyll-theme-alta-docs
    
     # Register new collection "docs" from "_docs" folder:
     collections:
       docs:
         output: true
         permalink: /:collection/:name/
    
     # Bind your "docs" collection
     doc_collection    : docs
    
  5. Add markdown files to the _docs/ folder:

     # _docs/01_intro/getting_started.md
     ---
     title: Getting started  # Enter any name
     category: Intro # Enter any category. Categories are used to group docs.
     layout: doc # Important! Use doc layout
     toc: true # Optional: to display table of contents
     order: 11 # To sort the documents in the navigation
     ---
    
     ## Getting started
    
     Hello world!
    
  6. Add index.md in the root directory (Home page):

     # index.md
     ---
     layout: page
     ---
    
     # Home page
    
     This is my home page
    

... or:

    ---
    layout: page
    ---

    {% include project_overview.html next_button="/docs/development/" %}
  1. Run:

     bundle exec jekyll serve
    

What's next?

Add more documents in _docs folder and see advanced options.

Advanced options

See more: advanced options

Development

To set up your environment to develop this theme, run bundle install.

To test theme, run: bundle exec rake preview or bundle exec rake preview host=xxx.xx.xxx.xx

Development todo's

Add more templates, integrations with the source code, setup scripts.

License

The theme is available as open source under the terms of the MIT License.