Skip to content
Snippets Groups Projects
index.md 2.07 KiB
Newer Older
Patrick Marsceill's avatar
Patrick Marsceill committed
---
layout: default
title: Home
nav_order: 1
---


Patrick Marsceill's avatar
Patrick Marsceill committed
# Focus on writing good documentation
Patrick Marsceill's avatar
Patrick Marsceill committed
{: .fs-9 }
Patrick Marsceill's avatar
Patrick Marsceill committed

Patrick Marsceill's avatar
Patrick Marsceill committed
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 }
Patrick Marsceill's avatar
Patrick Marsceill committed

[Get started now](#getting-started){: .btn .btn-purple .fs-5 .mb-4 .mb-md-0 .mr-2 } [View it on GitHub](https://github.com/pmarsceill/just-the-docs){: .btn .fs-5 }
Patrick Marsceill's avatar
Patrick Marsceill committed

---

## Getting started
Patrick Marsceill's avatar
Patrick Marsceill committed
### Dependencies
Patrick Marsceill's avatar
Patrick Marsceill committed
Just the Docs is built for [Jekyll](https://jekyllrb.com), a static site generator. View the [quick start guide](https://jekyllrb.com/docs/quickstart/) for more information. Just the Docs requires no special Jekyll plugins and can run on GitHub Pages standard Jekyll compiler.
Patrick Marsceill's avatar
Patrick Marsceill committed

### Installation
1. Install the Ruby Gem
```bash
$ gem install just-the-docs
```
```yaml
# .. or add it to your your Jekyll site’s Gemfile
gem "just-the-docs"
```
2. Add Just the Docs to your Jekyll site’s `config.yml`
```yaml
theme: "just-the-docs"
```
Patrick Marsceill's avatar
Patrick Marsceill committed
3. _Optional:_ Initialize search data (creates `search-data.json`)
```bash
$ bundle exec just-the-docs rake search:init
```
Patrick Marsceill's avatar
Patrick Marsceill committed
3. Run you local Jekyll server
```bash
Patrick Marsceill's avatar
Patrick Marsceill committed
$ jekyll serve
```
```bash
# .. or if you're using a Gemfile (bundler)
Patrick Marsceill's avatar
Patrick Marsceill committed
$ bundle exec jekyll serve
```
4. Point your web browser to [http://localhost:4000](http://localhost:4000)

---

## About the project

Patrick Marsceill's avatar
Patrick Marsceill committed
Just the Docs is © 2017 by [Patrick Marsceill](http://patrickmarsceill.com).
Patrick Marsceill's avatar
Patrick Marsceill committed

### License

Just the Docs is distributed by an [MIT license](https://github.com/pmarsceill/just-the-docs/tree/master/LICENSE.txt).

### Contributing

When contributing to this repository, please first discuss the change you wish to make via issue,
Patrick Marsceill's avatar
Patrick Marsceill committed
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](https://github.com/pmarsceill/just-the-docs#contributing).
Patrick Marsceill's avatar
Patrick Marsceill committed


### Code of Conduct

Just the Docs is committed to fostering a welcoming community.

[View our Code of Conduct](https://github.com/pmarsceill/just-the-docs/tree/master/CODE_OF_CONDUCT.md) on our GitHub repository.