diff --git a/extensions.yml b/extensions.yml new file mode 100644 index 00000000..f1cb52e9 --- /dev/null +++ b/extensions.yml @@ -0,0 +1,50 @@ +markdown_extensions: + - abbr + - admonition + - attr_list + - def_list + - footnotes + - md_in_html + - pymdownx.emoji: + emoji_index: !!python/name:material.extensions.emoji.twemoji + emoji_generator: !!python/name:material.extensions.emoji.to_svg + options: + custom_icons: + - overrides/.icons + - toc: + toc_depth: "1-1" + permalink: false + - pymdownx.arithmatex: + generic: true + - pymdownx.betterem: + smart_enable: all + - pymdownx.caret + - pymdownx.critic + - pymdownx.details + - pymdownx.highlight: + anchor_linenums: true + line_spans: __span + pygments_lang_class: true + - pymdownx.inlinehilite + - pymdownx.keys + - pymdownx.magiclink: + normalize_issue_symbols: true + repo_url_shorthand: true + user: robinmordasiewicz + repo: devops-toolkit + - pymdownx.mark + - pymdownx.smartsymbols + # - pymdownx.snippets: + # auto_append: + # - includes/mkdocs.md + - pymdownx.superfences: + preserve_tabs: true + custom_fences: + - name: mermaid + class: mermaid + format: !!python/name:pymdownx.superfences.fence_code_format + - pymdownx.tabbed: + alternate_style: true + combine_header_slug: true + slugify: !!python/object/apply:pymdownx.slugs.slugify + kwds: diff --git a/mkdocs.yml b/mkdocs.yml index a301b53e..9f533a27 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -88,36 +88,29 @@ theme: code: Roboto Mono markdown_extensions: - - abbr - - admonition - - attr_list - - def_list - - footnotes - - md_in_html - pymdownx.emoji: emoji_index: !!python/name:material.extensions.emoji.twemoji emoji_generator: !!python/name:material.extensions.emoji.to_svg options: custom_icons: - overrides/.icons + - abbr + - admonition + - attr_list + - def_list + - footnotes + - md_in_html - toc: toc_depth: "1-1" - permalink: false - - pymdownx.arithmatex: - generic: true - - pymdownx.betterem: - smart_enable: all - - pymdownx.caret - - pymdownx.critic - - pymdownx.details - - pymdownx.emoji: - emoji_generator: !!python/name:material.extensions.emoji.to_svg - emoji_index: !!python/name:material.extensions.emoji.twemoji - - pymdownx.highlight: - anchor_linenums: true - line_spans: __span - pygments_lang_class: true + - pymdownx.superfences: + custom_fences: + - name: mermaid + class: mermaid + format: !!python/name:pymdownx.superfences.fence_code_format - pymdownx.inlinehilite + - pymdownx.snippets + - pymdownx.superfences + - pymdownx.tilde - pymdownx.keys - pymdownx.magiclink: normalize_issue_symbols: true @@ -126,9 +119,6 @@ markdown_extensions: repo: devops-toolkit - pymdownx.mark - pymdownx.smartsymbols - # - pymdownx.snippets: - # auto_append: - # - includes/mkdocs.md - pymdownx.superfences: preserve_tabs: true custom_fences: @@ -140,12 +130,6 @@ markdown_extensions: combine_header_slug: true slugify: !!python/object/apply:pymdownx.slugs.slugify kwds: - case: lower - - pymdownx.tasklist: - custom_checkbox: true - clickable_checkbox: true - - pymdownx.tilde - plugins: - glightbox - social diff --git a/mkdocs.yml.working b/mkdocs.yml.working new file mode 100644 index 00000000..47d96a53 --- /dev/null +++ b/mkdocs.yml.working @@ -0,0 +1,181 @@ +--- +site_name: DevOps ToolKit +site_description: DevOps ToolKit +site_url: https://robinmordasiewicz.github.io/devops-toolkit/ +repo_url: https://github.com/robinmordasiewicz/devops-toolkit/ +edit_uri: edit/main/docs/ +repo_name: "robinmordasiewicz/devops-toolkit" + +extra: + annotate: + json: [.s2] + generator: false + social: + - icon: fortinet/fc-lib-fortinet + link: https://www.fortinet.com/blog + - icon: fortinet/fc-lib-facebook + link: https://www.facebook.com/fortinet + - icon: fortinet/fc-lib-twitter + link: https://twitter.com/fortinet + - icon: fortinet/fc-lib-youtube + link: https://www.youtube.com/channel/UCzpsl8Vm6OL7ij2Lm4G6Jcg + - icon: fortinet/fc-lib-linkedin + link: https://www.linkedin.com/company/fortinet/ + +validation: + omitted_files: warn + absolute_links: warn + unrecognized_links: warn + +extra_css: [extra.css] +extra_javascript: [extra.js] + +# yamllint disable-line rule:line-length +copyright: '
Corporate | How to Buy | Products | Services & Support | Legal | Privacy | Terms of Use
' + +theme: + name: material + custom_dir: docs/overrides + logo: logo.svg + favicon: favicon.ico + include_sidebar: false + icon: + repo: fontawesome/brands/github + features: + - announce.dismiss + - content.action.edit + - content.action.view + - content.code.annotate + - content.code.copy + - content.code.select + - content.tabs.link + - content.tooltips + - header.autohide + - navigation.footer + - navigation.indexes + - navigation.instant + - navigation.instant.prefetch + - navigation.instant.progress + - navigation.path + - navigation.tracking + - search.highlight + - search.share + - search.suggest + - toc.follow + palette: + - media: "(prefers-color-scheme: light)" + primary: black + accent: grey + scheme: default + toggle: + icon: material/toggle-switch-off-outline + name: Switch to dark mode + - media: "(prefers-color-scheme: dark)" + primary: grey + accent: black + scheme: slate + toggle: + icon: material/toggle-switch + +markdown_extensions: + - pymdownx.emoji: + emoji_index: !!python/name:material.extensions.emoji.twemoji + emoji_generator: !!python/name:material.extensions.emoji.to_svg + options: + custom_icons: + - overrides/.icons + - abbr + - admonition + - attr_list + - def_list + - footnotes + - md_in_html + - toc: + toc_depth: "1-1" + - pymdownx.superfences: + custom_fences: + - name: mermaid + class: mermaid + format: !!python/name:pymdownx.superfences.fence_code_format + - pymdownx.inlinehilite + - pymdownx.snippets + - pymdownx.superfences + - pymdownx.tilde + - pymdownx.keys + - pymdownx.magiclink: + normalize_issue_symbols: true + repo_url_shorthand: true + user: robinmordasiewicz + repo: devops-toolkit + - pymdownx.mark + - pymdownx.smartsymbols + - pymdownx.superfences + - pymdownx.details + - pymdownx.caret + - pymdownx.critic + - pymdownx.tabbed: + alternate_style: true + combine_header_slug: true + slugify: !!python/object/apply:pymdownx.slugs.slugify + kwds: + case: lower + - pymdownx.highlight: + anchor_linenums: true + line_spans: __span + pygments_lang_class: true + - pymdownx.tasklist: + custom_checkbox: true + clickable_checkbox: true + +plugins: + - glightbox + - social + - blog + - search: + separator: '[\s\u200b\-_,:!=\[\]()"`/]+|\.(?!\d)|&[lg]t;|(?!\b)(?=[A-Z][a-z])' + +nav: + - "Home": "index.md" + - "Concepts": + - devops.md + - digitial-journey.md + - challenge.md + - source-of-truth.md + - gitops.md + - gitflow.md + - secure-cloud-blueprint.md + - "Accounts": "accounts.md" + - "Platforms": + - "Source Control": + - github-create-repo.md + - github-profile.md + - github-fork-repo.md + - "Cloud Provider": + - azure-cloud-shell.md + - azure-install-terraform.md + - azure-az-login.md + - "Deploy Infrastructure": + - azure-subscription.md + - github-clone-repo.md + - terraform-environment.md + - terraform-deploy.md + - "Publish Changes": + - github-branch.md + - opencommit-conventional.md + - opencommit-install.md + - azure-install-gh.md + - github-commit.md + - github-push.md + - github-pull-request.md + - github-workflow-linter.md + - github-merge.md + - fortinet-fortidevsec.md + - "CI/CD": + - github-personal-access-token.md + - github-secrets.md + - azure-oidc.md + - github-workflows.md + - fortimanager.md + - fortimanager-ztp.md + - github-copilot-install.md + - links.md