mirror of
https://github.com/Tech-Workers-Coalition-Italia/mobilizon-reshare.git
synced 2025-01-30 17:14:53 +01:00
8ff6555c60
* initial commit with generate-doc.sh script and generated documentation, added pdoc3 dependency * fixed import errors due to missing SECRETS_FOR_DYNACONF environment value, updated doc, force/overwrite if documentation exists * moved pdoc3 dependency from dependencies to dev-dependencies * removed generated doc * add api-documentation (pdoc3 target directory) to .gitignore * switch to sphinx which supports better typehints notation * remove module path prefix from methods name * add support for typehints * remove autogenerated files * ignore autogenerated files * fixed typo in .gitignore * added empty _static folder to avoid warning on build * initial commit with generate-doc.sh script and generated documentation, added pdoc3 dependency * fixed import errors due to missing SECRETS_FOR_DYNACONF environment value, updated doc, force/overwrite if documentation exists * moved pdoc3 dependency from dependencies to dev-dependencies * removed generated doc * switch to sphinx which supports better typehints notation * remove autogenerated files * remove gui browser documentation open, use /bin/sh instead of /bin/bash * remove windows/dos documentation generation make, drop windows/dos support Co-authored-by: Giacomo Leidi <goodoldpaul@autistici.org>
7 lines
197 B
Bash
Executable File
7 lines
197 B
Bash
Executable File
#!/bin/sh
|
|
export SECRETS_FOR_DYNACONF='mobilizon_reshare/.secrets.toml'
|
|
poetry run sphinx-apidoc -f -o api_documentation/source/ mobilizon_reshare/
|
|
cd api_documentation
|
|
poetry run make html
|
|
cd ..
|