notes/index.md

3.8 KiB
Raw Blame History

layout title nav_order description permalink last_modified_date
default Home 1 Just the Docs is a responsive Jekyll theme with built-in search that is easily customizable and hosted on GitHub Pages. / 2020-04-27T17:54:08+0000

Focus on writing good documentation

{: .fs-9 }

Just the Docs gives your documentation a jumpstart with a responsive Jekyll theme that is easily customizable and hosted on GitHub Pages. {: .fs-6 .fw-300 }

Get started now{: .btn .btn-primary .fs-5 .mb-4 .mb-md-0 .mr-2 } View it on GitHub{: .btn .fs-5 .mb-4 .mb-md-0 }


Getting started

Dependencies

Just the Docs is built for Jekyll, a static site generator. View the quick start guide for more information. Just the Docs requires no special plugins and can run on GitHub Pages' standard Jekyll compiler. The Jekyll SEO Tag plugin is included by default (no need to run any special installation) to inject SEO and open graph metadata on docs pages. For information on how to configure SEO and open graph metadata visit the Jekyll SEO Tag usage guide.

Quick start: Use as a GitHub Pages remote theme

  1. Add Just the Docs to your Jekyll site's _config.yml as a remote theme
remote_theme: pmarsceill/just-the-docs

You must have GitHub Pages enabled on your repo, one or more Markdown files, and a _config.yml file. See an example repository

Local installation: Use the gem-based theme

  1. Install the Ruby Gem
$ gem install just-the-docs
# .. or add it to your your Jekyll sites Gemfile
gem "just-the-docs"
  1. Add Just the Docs to your Jekyll sites _config.yml
theme: "just-the-docs"
  1. Optional: Initialize search data (creates search-data.json)
$ bundle exec just-the-docs rake search:init
  1. Run you local Jekyll server
$ jekyll serve
# .. or if you're using a Gemfile (bundler)
$ bundle exec jekyll serve
  1. Point your web browser to http://localhost:4000

If you're hosting your site on GitHub Pages, set up GitHub Pages and Jekyll locally so that you can more easily work in your development environment.

Configure Just the Docs

  • [See configuration options]({{ site.baseurl }}{% link docs/configuration.md %})

About the project

Just the Docs is © 2017-{{ "now" | date: "%Y" }} by Patrick Marsceill.

License

Just the Docs is distributed by an MIT license.

Contributing

When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change. Read more about becoming a contributor in our GitHub repo.

Thank you to the contributors of Just the Docs!

    {% for contributor in site.github.contributors %}
  • {{ contributor.login }}
  • {% endfor %}

Code of Conduct

Just the Docs is committed to fostering a welcoming community.

View our Code of Conduct on our GitHub repository.