Skip to content

Commit

Permalink
Update docs config and enable publish
Browse files Browse the repository at this point in the history
  • Loading branch information
ashish-spext committed Oct 29, 2024
1 parent 5908768 commit a6b1e87
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 8 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@ on:
branches: [gh-action]

workflow_dispatch:

permissions:
contents: write
jobs:

build:
runs-on: ubuntu-latest

steps:

- uses: actions/checkout@v2

- name: Set up Python 3.12
Expand Down
Binary file modified docs/assets/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions docs/hooks/copyright.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from datetime import datetime


def on_config(config, **kwargs):
config.copyright = f"Copyright © {datetime.now().year} VideoDB"
Binary file removed frontend/public/favicon.png
Binary file not shown.
9 changes: 5 additions & 4 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
site_name: ""


repo_url: https://github.com/video-db/videodb-python
repo_name: videodb-db/videodb-python
copyright: © videodb.io. 2024
repo_url: https://github.com/video-db/Director
repo_name: videodb-db/Director
extra:
generator: True

Expand Down Expand Up @@ -93,7 +92,6 @@ nav:
plugins:
- search
- offline
# - git-authors
- autorefs
- mkdocstrings:
handlers:
Expand Down Expand Up @@ -123,6 +121,9 @@ plugins:
enable_creation_date: true
fallback_to_build_date: true

hooks:
- docs/hooks/copyright.py

markdown_extensions:
- abbr
- admonition
Expand Down

0 comments on commit a6b1e87

Please sign in to comment.