Skip to content

Commit

Permalink
Merge pull request #185 from godatadriven/more-docs-fixes
Browse files Browse the repository at this point in the history
Correcting the latest docs version
  • Loading branch information
pgoslatara authored Aug 27, 2024
2 parents a1579a4 + a95d52c commit 9245da4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/release_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,4 +176,6 @@
run: git fetch origin gh-pages --depth=1

- name: Deploy docs website
run: poetry run mike deploy --push --update-aliases v${{ steps.version.outputs.version }} stable
run: |
poetry run mike deploy --push --update-aliases v${{ steps.version.outputs.version }} stable
poetry run mike set-default --push stable
4 changes: 2 additions & 2 deletions docs/overrides/main.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{% extends "base.html" %}

{% block outdated %}
You're not viewing the latest version.
You're not viewing the latest stable version of dbt-bouncer.
<a href="{{ '../' ~ base_url }}">
<strong>Click here to go to latest.</strong>
<strong>Click here to go to stable.</strong>
</a>
{% endblock %}
3 changes: 3 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ site_url: https://godatadriven.github.io/dbt-bouncer/

extra:
version:
alias: true
canonical_version: stable
default: stable
provider: mike

extra_css:
Expand Down

0 comments on commit 9245da4

Please sign in to comment.