Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: cleanup after theme migration #1045

Merged
merged 9 commits into from
Apr 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 0 additions & 88 deletions .github/workflows/release-docs.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ jobs:
if: needs.release-please.outputs.releases_created == 'true'
with:
tag_name: ${{ needs.release-please.outputs.tag_name }}
uses: ./.github/workflows/release-docs.yml
uses: keptn/docs-tooling/.github/workflows/release-docs.yml@v0.0.2-beta1
secrets: inherit

update-examples:
Expand Down
3 changes: 0 additions & 3 deletions docs/.htmltest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,4 @@ IgnoreDirs:
IgnoreURLs:
- "linkedin.com"
- "localhost"
# our edit links in the sidebar might not work for newly created pages
- "github.com/keptn/lifecycle-toolkit/tree/main"
- "github.com/keptn/lifecycle-toolkit/edit/main"
StripQueryString: false
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,5 @@ This is important so we do know which version it contains - specifically importa

`Docsy` offers a mechanism to build a version menu based on Hugo's configuration.
We extended this mechanism and enhanced it with a check for directories starting with `docs` and containing a `version` file.
For more details inspect the [layout file with adaptions](layouts/partials/navbar-version-selector.html).
For more details inspect [our theme with a layout file with adaptations](https://github.com/keptn/docs-tooling).
This way we do not need to adapt the configuration all the time we are releasing a new version.
2 changes: 0 additions & 2 deletions docs/config/_default/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ module:
target: assets
- source: archetypes
target: archetypes
- source: content/en/_index.md
target: content/en/_index.md
proxy: direct
languages:
en:
Expand Down
8 changes: 7 additions & 1 deletion docs/config/_default/params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ versions:
- url: https://lifecycle.keptn.sh/docs
version: latest


mermaid:
enable: true

links:
developer:
- desc: Development takes place here!
icon: fab fa-github
name: Keptn Lifecycle Toolkit GitHub Repository
url: https://github.com/keptn/lifecycle-toolkit
10 changes: 10 additions & 0 deletions docs/content/en/_index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
---
title: Home
cascade:
- _target:
path: "/docs/**"
sitemap:
priority: 1.0

- _target:
path: "/docs-*/**"
sitemap:
priority: 0.1
---

<!-- markdownlint-disable MD033 -->
Expand Down
2 changes: 1 addition & 1 deletion docs/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ go 1.19

require (
github.com/google/docsy/dependencies v0.6.0 // indirect
github.com/keptn/docs-tooling v0.0.1 // indirect
github.com/keptn/docs-tooling v0.1.1 // indirect
)
4 changes: 2 additions & 2 deletions docs/go.sum
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
github.com/FortAwesome/Font-Awesome v0.0.0-20220831210243-d3a7818c253f/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo=
github.com/google/docsy/dependencies v0.6.0 h1:BFXDCINbp8ZuUGl/mrHjMfhCg+b1YX+hVLAA5fGW7Pc=
github.com/google/docsy/dependencies v0.6.0/go.mod h1:EDGc2znMbGUw0RW5kWwy2oGgLt0iVXBmoq4UOqstuNE=
github.com/keptn/docs-tooling v0.0.1 h1:J9OvIp1Xhkwpp4aiIZ0sKzEeoMY5CsWhfkQv8ruxlwA=
github.com/keptn/docs-tooling v0.0.1/go.mod h1:6nzm4ykIXyoxsJo3gFsaNWbpycj4pG03lOwE3x927eo=
github.com/keptn/docs-tooling v0.1.1 h1:IuI0Fgs0JrtffLN05iaRZVkRMbPu6h9bxR4C8q1ApGU=
github.com/keptn/docs-tooling v0.1.1/go.mod h1:x0iT5YsJosz6wzjQke/YaLgiXF6PV+N8QzxSAc2MY/4=
github.com/twbs/bootstrap v4.6.2+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
13 changes: 0 additions & 13 deletions docs/layouts/_default/_markup/render-link.html

This file was deleted.

26 changes: 0 additions & 26 deletions docs/layouts/partials/navbar-version-selector.html

This file was deleted.

1 change: 1 addition & 0 deletions docs/static/google90258e79df368ea0.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
google-site-verification: google90258e79df368ea0.html