Skip to content

Commit

Permalink
deploy website
Browse files Browse the repository at this point in the history
  • Loading branch information
Kataglyphis committed Jul 16, 2024
1 parent 42ac3af commit 8f7ad5c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
- name: Setup python env
run: |
pip install -v -e .
pip install -r requirements/docs.txt
- name : Build web page
run: |
cd docs/build
Expand All @@ -33,5 +34,5 @@ jobs:
with:
server: ${{ secrets.SERVER }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.DEV_PW }}
password: ${{ secrets.PASSWORD }}
local-dir: "./docs/build/html/"
7 changes: 7 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"sphinx.ext.autodoc",
"sphinx.ext.napoleon", # For Google and NumPy style docstrings
"sphinx.ext.viewcode", # To include links to the source code
"myst_parser", # adding .md files
]

templates_path = ["_templates"]
Expand All @@ -34,3 +35,9 @@

html_theme = "alabaster"
html_static_path = ["_static"]

# Enable the processing of Markdown files
source_suffix = {
".rst": "restructuredtext",
".md": "markdown",
}
3 changes: 2 additions & 1 deletion requirements/docs.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
sphinx
sphinx
recommonmark
2 changes: 1 addition & 1 deletion webdavclient/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from .webdavclient import WebDavClient

__all__ = ["WebDavClient"]
__all__: list[str] = ["WebDavClient"]

0 comments on commit 8f7ad5c

Please sign in to comment.