-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for multiversion documentation build
- Loading branch information
Showing
6 changed files
with
48 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,14 +21,14 @@ jobs: | |
|
||
- name: Build Documentation | ||
run: | | ||
poetry run python -m nox -s build-docs | ||
touch doc/build/.nojekyll | ||
poetry run python -m nox -s docs:multiversion | ||
touch .html-documentation/.nojekyll | ||
- name: Deploy | ||
uses: JamesIves/[email protected] | ||
with: | ||
branch: gh-pages | ||
folder: ./doc/build | ||
folder: .html-documentation | ||
git-config-name: Github Action | ||
git-config-email: [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.html-documentation | ||
odbcconfig/odbcinst.ini | ||
|
||
_build/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
from __future__ import annotations | ||
|
||
from dataclasses import dataclass | ||
from pathlib import Path | ||
from typing import ( | ||
Iterable, | ||
) | ||
|
||
|
||
@dataclass(frozen=True) | ||
class Config: | ||
root: Path = Path(__file__).parent | ||
doc: Path = Path(__file__).parent / "doc" | ||
version_file: Path = ( | ||
Path(__file__).parent / "sqlalchemy_exasol" / "version.py" | ||
) | ||
path_filters: Iterable[str] = ( | ||
"dist", | ||
".eggs", | ||
"venv", | ||
) | ||
|
||
plugins = [] | ||
|
||
|
||
PROJECT_CONFIG = Config() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters