3.4 KiB
layout | title | nav_order | description | permalink |
---|---|---|---|---|
default | Home | 1 | Just the Docs is a responsive Jekyll theme with built-in search that is easily customizable and hosted on GitHub Pages. | / |
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
- 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
- Install the Ruby Gem
$ gem install just-the-docs
# .. or add it to your your Jekyll site’s Gemfile
gem "just-the-docs"
- Add Just the Docs to your Jekyll site’s
_config.yml
theme: "just-the-docs"
- Optional: Initialize search data (creates
search-data.json
)
$ bundle exec just-the-docs rake search:init
- Run you local Jekyll server
$ jekyll serve
# .. or if you're using a Gemfile (bundler)
$ bundle exec jekyll serve
- 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-2019 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.
Code of Conduct
Just the Docs is committed to fostering a welcoming community.
View our Code of Conduct on our GitHub repository.