Skip to content

Commit 9ce4eeb

Browse files
committed
add submodules
1 parent ae4f2fd commit 9ce4eeb

File tree

11 files changed

+51
-125
lines changed

11 files changed

+51
-125
lines changed

.gitmodules

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[submodule "docs/repos/helm-charts"]
2+
path = docs/repos/helm-charts
3+
url = git@github.com:fullstack-devops/helm-charts.git
4+
[submodule "docs/repos/github-actions-runner"]
5+
path = docs/repos/github-actions-runner
6+
url = git@github.com:fullstack-devops/github-actions-runner.git

README.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,27 @@
1-
# Docs for fullstack-devops.github.io
1+
[![Publish docs via GitHub Pages](https://github.com/fullstack-devops/fullstack-devops.github.io/actions/workflows/gh-pages.yml/badge.svg)](https://github.com/fullstack-devops/fullstack-devops.github.io/actions/workflows/gh-pages.yml)
22

3-
s
4-
## Run local
3+
# Docs for fullstack-devops
54

6-
### Installation
5+
Documentation about everything in this organization.
76

8-
install `mkdocs` if not aready done
7+
## Dev
98

10-
```bash
11-
pip install mkdocs
12-
```
9+
### Installation
1310

14-
install all required plugins
11+
install `mkdocs-material` and requirements, if not aready done
1512

1613
```bash
17-
python3 setup.py
14+
pip install -r requirements.txt
1815
```
1916

2017
run and watch deployment
2118

2219
```bash
2320
mkdocs serve
2421
```
22+
23+
### Git Submodules
24+
25+
How to add: `git submodule add <repo_clone_url>`
26+
27+
How to get an update: `git pull --recurse-submodules`

docs/_static/custom.css

Whitespace-only changes.

docs/repos/github-actions-runner

Submodule github-actions-runner added at 7addf1e

docs/repos/helm-charts

Submodule helm-charts added at aeeb2f0

docs/repos/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Repositories
2+

docs/stylesheets/custom.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.md-grid {
2+
max-width: 75rem;
3+
}

material/404.html

Lines changed: 0 additions & 7 deletions
This file was deleted.

mkdocs.yml

Lines changed: 20 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Project information
2-
site_name: Docs for fullstack-devops
3-
site_url: https://fullstack-devops.github.io/
2+
site_name: Docs for Fullstack and DevOps
3+
site_url: ""
44
site_author: The fullstack-devops project
55
site_description: >-
66
Documentation for the fullstack-devops community and side projects
77
88
# Repository
99
repo_name: fullstack-devops/fullstack-devops.github.io
1010
repo_url: https://github.com/fullstack-devops/fullstack-devops.github.io
11-
edit_uri: ""
11+
edit_uri: "edit/main/docs"
1212

1313
# Configuration
1414
theme:
@@ -28,7 +28,7 @@ theme:
2828
# - content.tabs.link
2929
- content.tooltips
3030
# - header.autohide
31-
# - navigation.expand
31+
- navigation.expand
3232
- navigation.indexes
3333
# - navigation.instant
3434
# - navigation.prune
@@ -60,20 +60,18 @@ theme:
6060
code: Roboto Mono
6161
favicon: https://avatars.githubusercontent.com/u/97617148?s=200&v=4
6262
logo: https://avatars.githubusercontent.com/u/97617148?s=200&v=4
63+
extra_css:
64+
- stylesheets/custom.css
6365

6466
docs_dir: ./docs
6567

66-
extra_css:
67-
- _static/custom.css
68-
6968
# Plugins
7069
plugins:
7170
- search
7271
- minify:
7372
minify_html: true
74-
- redirects:
75-
redirect_maps:
76-
helm-charts/getting-started.md: helm-charts/introduction.md
73+
- git-revision-date-localized:
74+
enable_creation_date: true
7775

7876
# Customization
7977
extra:
@@ -112,11 +110,10 @@ markdown_extensions:
112110
repo: mkdocs-material
113111
- pymdownx.mark
114112
- pymdownx.smartsymbols
115-
- pymdownx.superfences:
116-
custom_fences:
117-
- name: mermaid
118-
class: mermaid
119-
format: !!python/name:pymdownx.superfences.fence_code_format
113+
- pymdownx.snippets:
114+
# Fails the build if any imports are missing
115+
check_paths: true
116+
- pymdownx.superfences
120117
- pymdownx.tabbed:
121118
alternate_style: true
122119
- pymdownx.tasklist:
@@ -126,35 +123,11 @@ markdown_extensions:
126123
# Page tree
127124
nav:
128125
- Home: index.md
129-
# - Helm Charts:
130-
# - Introduction: helm-charts/introduction.md
131-
# - Common: helm-charts/common-library.md
132-
# - Common Storage: helm-charts/common-library-storage.md
133-
# - Common Add-ons: helm-charts/common-library-add-ons.md
134-
# - Development:
135-
# - Creating a new chart: helm-charts/development/creating-a-new-chart.md
136-
# - Databases: our-helm-charts/development/databases.md
137-
# - Unit tests: our-helm-charts/development/unit-tests.md
138-
# - Our Container Images:
139-
# - Introduction: our-container-images/introduction.md
140-
# - Configuration: our-container-images/configuration.md
141-
# - Permissions: our-container-images/permissions.md
142-
# - Development:
143-
# - Creating a new container image: >-
144-
# our-container-images/development/creating-a-new-container-image.md
145-
# - Dockerfile: our-container-images/development/dockerfile.md
146-
# - Base images: our-container-images/development/base-images.md
147-
# - Build: our-container-images/development/build.md
148-
# - Our Code Projects:
149-
# - Introduction: our-own-code-projects/introduction.md
150-
# - Development:
151-
# - Creating a new project: >-
152-
# our-own-code-projects/development/creating-a-new-container-image.md
153-
# - Guides:
154-
# - DynDNS with a CronJob: guides/dyndns.md
155-
# - Routing traffic through a VPN pod: guides/pod-gateway.md
156-
# - Updating Sonarr/Radarr with Recyclarr: guides/recyclarr.md
157-
# - Support:
158-
# - Community: support/community.md
159-
# - FAQ: support/faq.md
160-
# - Code of Conduct: support/code-of-conduct.md
126+
- Repositories:
127+
- repos/index.md
128+
- helm charts:
129+
- repos/helm-charts/README.md
130+
- excalidraw: repos/helm-charts/charts/excalidraw/README.md
131+
- github-actions-runner: repos/helm-charts/charts/github-actions-runner/README.md
132+
- github actions runner:
133+
- repos/github-actions-runner/README.md

requirements.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
mkdocs==1.3.1
2-
mkdocs-macros-plugin ==0.7.0
3-
mkdocs-material ==8.4.0
2+
mkdocs-macros-plugin==0.7.0
3+
mkdocs-material==8.4.0
44
mkdocs-minify-plugin==0.5.0
5-
mkdocs-redirects==1.0.5
5+
mkdocs-redirects==1.0.5
6+
mkdocs-git-revision-date-localized-plugin==1.1.0
7+
mkdocs-snippet-plugin==1.0.2

0 commit comments

Comments
 (0)