File tree Expand file tree Collapse file tree 7 files changed +132
-0
lines changed
Expand file tree Collapse file tree 7 files changed +132
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Publish docs via GitHub Pages
2+ on :
3+ workflow_dispatch :
4+ push :
5+ branches :
6+ - main
7+ - master
8+
9+ permissions :
10+ contents : read
11+
12+ jobs :
13+ build :
14+ name : Deploy docs
15+ runs-on : ubuntu-latest
16+ permissions :
17+ contents : write
18+ steps :
19+ - name : Checkout main
20+ uses : actions/checkout@v4
21+ with :
22+ fetch-depth : 0
23+
24+ - name : Set up Python
25+ uses : actions/setup-python@v5
26+ with :
27+ python-version : 3.x
28+
29+ - name : Install dependencies
30+ run : |
31+ python -m pip install --upgrade pip
32+ python -m pip install mkdocs-material==9.5.26 \
33+ mkdocs-include-markdown-plugin==6.2.0 \
34+ mkdocs-awesome-pages-plugin==2.9.2
35+
36+ - name : git config
37+ run : |
38+ git config --local user.email "[email protected] " 39+ git config --local user.name "GitHub Action"
40+
41+ - run : mkdocs gh-deploy --force
Original file line number Diff line number Diff line change 1+ nav:
2+ - Overview: index.md
3+ - Local Develpment: local.md
Original file line number Diff line number Diff line change 1+ # Terraform AWS EKS module
2+
3+ Moar content coming soon!
Original file line number Diff line number Diff line change 1+ # Local Development
2+
3+ ## Documentation Site
4+
5+ In order to run the documentation site locally, you will need to have the following installed locally:
6+
7+ - [ Python 3.x] ( https://www.python.org/downloads/ )
8+ - [ mkdocs] ( https://www.mkdocs.org/user-guide/installation/ )
9+ - The following pip packages for mkdocs (i.e. - ` pip install ... ` )
10+ - ` mkdocs-material `
11+ - ` mkdocs-include-markdown-plugin `
12+ - ` mkdocs-awesome-pages-plugin `
13+
14+ To run the documentation site locally, run the following command from the root of the repository:
15+
16+ ``` bash
17+ mkdocs serve
18+ ```
19+
20+ Opening the documentation at the link posted in the terminal output (i.e. - [ http://127.0.0.1:8000/terraform-aws-eks/ ] ( http://127.0.0.1:8000/terraform-aws-eks/ ) )
Original file line number Diff line number Diff line change 1+ site_name : Terraform AWS EKS
2+ docs_dir : docs/
3+ site_url : https://terraform-aws-modules/terraform-aws-eks/
4+ repo_name : terraform-aws-eks
5+ repo_url : https://github.com/terraform-aws-modules/terraform-aws-eks
6+
7+ theme :
8+ name : material
9+ logo : assets/terraform-aws.png
10+ favicon : assets/logo.png
11+ font :
12+ text : ember
13+ palette :
14+ primary : deep purple
15+ accent : indgo
16+ icon :
17+ repo : fontawesome/brands/github
18+ admonition :
19+ note : octicons/tag-16
20+ abstract : octicons/checklist-16
21+ info : octicons/info-16
22+ tip : octicons/squirrel-16
23+ success : octicons/check-16
24+ question : octicons/question-16
25+ warning : octicons/alert-16
26+ failure : octicons/x-circle-16
27+ danger : octicons/zap-16
28+ bug : octicons/bug-16
29+ example : octicons/beaker-16
30+ quote : octicons/quote-16
31+ features :
32+ - navigation.tabs.sticky
33+ highlightjs : true
34+ hljs_languages :
35+ - yaml
36+ - json
37+
38+ plugins :
39+ - include-markdown
40+ - search :
41+ lang :
42+ - en
43+ - awesome-pages
44+
45+ extra :
46+ version :
47+ provider : mike
48+
49+ markdown_extensions :
50+ - attr_list
51+ - admonition
52+ - codehilite
53+ - footnotes
54+ - md_in_html
55+ - pymdownx.critic
56+ - pymdownx.details
57+ - pymdownx.highlight :
58+ anchor_linenums : true
59+ line_spans : __span
60+ pygments_lang_class : true
61+ - pymdownx.inlinehilite
62+ - pymdownx.snippets
63+ - pymdownx.superfences
64+ - toc :
65+ permalink : true
You can’t perform that action at this time.
0 commit comments