Skip to content

Commit

Permalink
Documentation site based on mkdocs and Read the Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mumoshu authored and Sajfer committed May 2, 2022
1 parent ae155b3 commit 19c858e
Show file tree
Hide file tree
Showing 8 changed files with 88 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 2

mkdocs:
configuration: mkdocs.yml
fail_on_warning: false

python:
install:
- requirements: docs/requirements.txt
1 change: 1 addition & 0 deletions docs/contributing.md
1 change: 1 addition & 0 deletions docs/index.md
1 change: 1 addition & 0 deletions docs/license.md
File renamed without changes.
22 changes: 22 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Babel==2.9.1
click==8.1.2
ghp-import==2.0.2
gitdb==4.0.9
GitPython==3.1.27
importlib-metadata==4.11.3
Jinja2==3.1.1
Markdown==3.3.6
MarkupSafe==2.1.1
mergedeep==1.3.4
mkdocs==1.3.0
mkdocs-git-revision-date-localized-plugin==1.0.1
packaging==21.3
pyparsing==3.0.7
python-dateutil==2.8.2
pytz==2022.1
PyYAML==6.0
pyyaml_env_tag==0.1
six==1.16.0
smmap==5.0.0
watchdog==2.1.7
zipp==3.7.0
1 change: 1 addition & 0 deletions docs/users.md
53 changes: 53 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Test this locally with:
# $ docker run --rm -it -v $(pwd):$(pwd) --workdir $(pwd) python:3 bash
# # pip install -r docs/requirements.txt
# # mkdocs serve
# # mkdocs build
# $ ls -lah site/
site_name: helmfile
site_author: Helmfile Authors

repo_name: helmfile/helmfile/
repo_url: https://github.com/helmfile/helmfile/
edit_uri: ''

docs_dir: docs

nav:
- Home: index.md
- Getting Started:
- Paths Overview: paths.md
- Advanced Features:
- Best Practices Guide: writing-helmfile.md
- Advanced Features: advanced-features.md
- Secrets: remote-secrets.md
- Shared Configuration Across Teams: shared-configuration-across-teams.md
- About:
- Users: users.md
- License: license.md
- Contributing: contributing.md

theme:
name: readthedocs
features:
- navigation.tabs
collapse_navigation: false
hljs_languages:
- yaml
- dockerfile

markdown_extensions:
# meta, toc, table and fenced_code extensions are included by default
- extra
- admonition
- smarty
- sane_lists
- nl2br
- toc:
permalink: true

plugins:
- search
- git-revision-date-localized:
type: date
fallback_to_build_date: true

0 comments on commit 19c858e

Please sign in to comment.