notes/index.md

71 lines
2.1 KiB
Markdown
Raw Normal View History

2017-03-09 18:16:08 +00:00
---
layout: default
title: Home
nav_order: 1
2018-10-24 18:06:41 +00:00
permalink: /
2017-03-09 18:16:08 +00:00
---
2017-06-04 21:50:01 +00:00
# Focus on writing good documentation
2017-11-08 16:23:05 +00:00
{: .fs-9 }
2017-03-09 18:16:08 +00:00
2017-06-04 21:50:01 +00:00
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 }
2017-03-24 13:47:37 +00:00
[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 }
2017-03-09 18:16:08 +00:00
---
## Getting started
2018-10-23 20:29:08 +00:00
### Dependencies
2018-10-22 17:14:21 +00:00
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.
2017-03-09 18:16:08 +00:00
### Installation
1. Install the Ruby Gem
```bash
$ gem install just-the-docs
```
```yaml
# .. or add it to your your Jekyll sites Gemfile
gem "just-the-docs"
```
2. Add Just the Docs to your Jekyll sites `config.yml`
```yaml
theme: "just-the-docs"
```
2017-11-08 16:23:05 +00:00
3. _Optional:_ Initialize search data (creates `search-data.json`)
```bash
$ bundle exec just-the-docs rake search:init
```
2017-03-09 18:16:08 +00:00
3. Run you local Jekyll server
```bash
2017-03-24 13:47:37 +00:00
$ jekyll serve
```
```bash
# .. or if you're using a Gemfile (bundler)
2017-03-09 18:16:08 +00:00
$ bundle exec jekyll serve
```
4. Point your web browser to [http://localhost:4000](http://localhost:4000)
---
## About the project
2017-03-24 13:47:37 +00:00
Just the Docs is © 2017 by [Patrick Marsceill](http://patrickmarsceill.com).
2017-03-09 18:16:08 +00:00
### 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,
2018-10-23 18:24:42 +00:00
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).
2017-03-09 18:16:08 +00:00
### 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.