pubdoc
Публикация документации
Возможности
- Работа в ОС семейства:
Linux,Mac OS X,Windows; - Подерживается публикация на:
Установка и обновление
- Установить Python версии не ниже 3.6;
- Установить пакет d2doc из PyPI командой:
pip install d2doc
- Для обновления пакета необходимо воспользоваться командой:
pip install -U d2doc
Использование скрипта
Usage: pubdoc.py [OPTIONS] COMMAND [ARGS]...
Options:
--log-level TEXT Log level [CRITICAL, FATAL, ERROR, WARNING, DEBUG, INFO,
NOTSET]
--help Show this message and exit.
Commands:
dokuwiki
Публикация на DokuWiki
Команда dokuwiki
Usage: pubdoc dokuwiki [OPTIONS]
Options:
-t, --target TEXT Dokuwiki url. [required]
--username TEXT Dokuwiki username. [required]
--password TEXT Dokuwiki password. [required]
-n, --namespace TEXT Dokuwiki namespace. [required]
-d, --data-dir PATH Input data dir. [required]
-m, --data-dir-mask TEXT Files mask for option '--data-dir'.
--help Show this message and exit.
Пример использования скрипта в Linux
pubdoc dokuwiki \
--target 'https://bla.bla.com' \
--username 'Логин' \
--password 'Пароль' \
--namespace 'Проект 1:Техническая документация' \
--data-dir './testdocs' \
--data-dir-mask '**/*.md'
Пример использования скрипта в Linux c использованием переменных среды
export PUBDOC_DOKUWIKI_TARGET='https://bla.bla.com'
export PUBDOC_DOKUWIKI_USERNAME='Логин'
export PUBDOC_DOKUWIKI_PASSWORD='Пароль'
export PUBDOC_DOKUWIKI_NAMESPACE='Проект 1:Техническая документация'
export PUBDOC_DOKUWIKI_DATA_DIR='./testdocs'
export PUBDOC_DOKUWIKI_DATA_DIR_MASK='**/*.md'
export PUBDOC_LOG_LEVEL='DEBUG'
pubdoc dokuwiki
Metadata
Release files for pubdoc 0.5.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pubdoc-0.5.3.tar.gz | 5.1 kB | Without provenance | Details for pubdoc-0.5.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pubdoc-0.5.3-py3-none-any.whl | Python 3 | none | any | Details for pubdoc-0.5.3-py3-none-any.whl |
Total release size: 23.6 kB
Release files / pubdoc-0.5.3.tar.gz
| Download URL | pubdoc-0.5.3.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f6c5087dc2022f76db124d578237e0fe1e2cd8a03a6ecda7886d94c48f428b83
|
|
BLAKE2b-256 checksum How to use checksums |
61c4f16c315cd03ac892b5103cb6611e2573b76703ec17a3dd13d387f65af385
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.7
|
Release files / pubdoc-0.5.3-py3-none-any.whl
| Download URL | pubdoc-0.5.3-py3-none-any.whl |
|---|---|
| Size | 18.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2130f424bbe58bf2bef74ea22416c2e59cdb06667f382eccbecc1b2ffea808cb
|
|
BLAKE2b-256 checksum How to use checksums |
fe004157c0e04c38abd218862a9331ec0c14aad3ff76ef0173bb5c3407df2896
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.7
|
Security for pubdoc 0.5.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.