Skip to content

Commit 19c858e

Browse files
mumoshuSajfer
authored andcommitted
Documentation site based on mkdocs and Read the Docs
Ref roboll/helmfile#1824 Ref roboll/helmfile#1755
1 parent ae155b3 commit 19c858e

8 files changed

+88
-0
lines changed

.readthedocs.yaml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
version: 2
2+
3+
mkdocs:
4+
configuration: mkdocs.yml
5+
fail_on_warning: false
6+
7+
python:
8+
install:
9+
- requirements: docs/requirements.txt

docs/contributing.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../CONTRIBUTING.md

docs/index.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../README.md

docs/license.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../LICENSE

PATHS.md docs/paths.md

File renamed without changes.

docs/requirements.txt

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Babel==2.9.1
2+
click==8.1.2
3+
ghp-import==2.0.2
4+
gitdb==4.0.9
5+
GitPython==3.1.27
6+
importlib-metadata==4.11.3
7+
Jinja2==3.1.1
8+
Markdown==3.3.6
9+
MarkupSafe==2.1.1
10+
mergedeep==1.3.4
11+
mkdocs==1.3.0
12+
mkdocs-git-revision-date-localized-plugin==1.0.1
13+
packaging==21.3
14+
pyparsing==3.0.7
15+
python-dateutil==2.8.2
16+
pytz==2022.1
17+
PyYAML==6.0
18+
pyyaml_env_tag==0.1
19+
six==1.16.0
20+
smmap==5.0.0
21+
watchdog==2.1.7
22+
zipp==3.7.0

docs/users.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../USERS.md

mkdocs.yml

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# Test this locally with:
2+
# $ docker run --rm -it -v $(pwd):$(pwd) --workdir $(pwd) python:3 bash
3+
# # pip install -r docs/requirements.txt
4+
# # mkdocs serve
5+
# # mkdocs build
6+
# $ ls -lah site/
7+
site_name: helmfile
8+
site_author: Helmfile Authors
9+
10+
repo_name: helmfile/helmfile/
11+
repo_url: https://github.com/helmfile/helmfile/
12+
edit_uri: ''
13+
14+
docs_dir: docs
15+
16+
nav:
17+
- Home: index.md
18+
- Getting Started:
19+
- Paths Overview: paths.md
20+
- Advanced Features:
21+
- Best Practices Guide: writing-helmfile.md
22+
- Advanced Features: advanced-features.md
23+
- Secrets: remote-secrets.md
24+
- Shared Configuration Across Teams: shared-configuration-across-teams.md
25+
- About:
26+
- Users: users.md
27+
- License: license.md
28+
- Contributing: contributing.md
29+
30+
theme:
31+
name: readthedocs
32+
features:
33+
- navigation.tabs
34+
collapse_navigation: false
35+
hljs_languages:
36+
- yaml
37+
- dockerfile
38+
39+
markdown_extensions:
40+
# meta, toc, table and fenced_code extensions are included by default
41+
- extra
42+
- admonition
43+
- smarty
44+
- sane_lists
45+
- nl2br
46+
- toc:
47+
permalink: true
48+
49+
plugins:
50+
- search
51+
- git-revision-date-localized:
52+
type: date
53+
fallback_to_build_date: true

0 commit comments

Comments
 (0)