DociPy is a Python command-line interface (CLI) application designed to easily generate impressive static HTML documentation
Project description
DociPy - v1.1
- Project: DociPy
- Version: 1.1
- Author: Irakli Gzirishvili
- Email: gziraklirex@gmail.com
DociPy is a Python command-line interface (CLI) application designed to easily generate impressive static HTML documentation
Installation
To use DociPy, follow these steps:
- Run this CLI command to install the Python module
pip install docipy - Navigate to any directory containing markdown
folder/files.md - Open the CLI in the selected directory and run this command
docipy - Update the documentation logo at
__storage__/logo.icoand the author image at__storage__/author.png
Do not change the file names in the
__storage__folder, but feel free to update the files if needed
Output
The output will consist of 1 folder and 3 files in the root directory:
- storage: A folder containing all required resources
- index.html: The generated static HTML file
- menu.yaml: The generated menu file, which you can adjust
- robots.txt: File that controls the behavior of search engines
The menu is mapped according to the directory tree. After adjusting your menu, don't forget to run this CLI command again docipy to update your documentation
Change the *circle to any Bootstrap icon *name in the menu.yaml file that you think fits the topic
To reset the menu, simply run the following CLI command:
docipy reset
Config
If you want to update any configuration parameters that were defined during the initial generation of the documentation:
- Run this CLI command to start updating configuration parameters
docipy config - Skip parameters by pressing
Enterto leave their values unchanged - Enter new values for any desired parameter and press
Enter
Config parameters will be updated as you finish filling out the required fields
These are the configuration parameters requested during the initial generation of the documentation:
- Project: Name of the project
required - Version: Version of the project
required - Slogan: Slogan of the project
- Description: Description of the project
- Keywords: Keywords for search engines
- Documentation URL: URL of the live documentation domain
- Author: Author of the project
required - Position: Author's position
- Email: Author's email address
required - LinkedIn: Author's LinkedIn profile URL
- X: Author's X account URL
- Button 1 Name: Name of the first main button
- Button 1 Link: URL for the first main button
- Button 2 Name: Name of the second main button
- Button 2 Link: URL for the second main button
- Main Color: Main color for the documentation
- Dark Color: Darker variant of the main color for the documentation
- Google Tag (script): Google tag script for analytics
- Copyright Verification (meta): Meta tag for copyright verification
- Copyright Badge (a, script): Link and script for the copyright badge
Publish
Don't forget to update the Documentation URL before publishing:
- Run this CLI command to start updating configuration parameters
docipy config - Skip other parameters by pressing
Enterto leave their values unchanged - Enter
Documentation URLvaluee.g https://example.comand pressEnter
For local versions, the
Documentation URLmust be specified as a dot.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file docipy-1.1.0.tar.gz.
File metadata
- Download URL: docipy-1.1.0.tar.gz
- Upload date:
- Size: 304.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ee2dc9f95108c2c1860ec502762d0d99e9b6607855bf4e89d4ebfc3b3ac72ea
|
|
| MD5 |
d86490f100626342b8aec456e70c6ae7
|
|
| BLAKE2b-256 |
8154cac3cb9720876de83aa75c9fc6224c5e69a03eacd016b60de1558355ea29
|
File details
Details for the file docipy-1.1.0-py3-none-any.whl.
File metadata
- Download URL: docipy-1.1.0-py3-none-any.whl
- Upload date:
- Size: 301.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae3748116e5a841333e88902c1888df7807bb638a23748be58e6008d25b300ad
|
|
| MD5 |
3ecad6bb8f30c0338511e8cb050d1339
|
|
| BLAKE2b-256 |
9ed8e8f74da64eddc8855b4f9bf532b933dced191762040ebbd644aa4fd9ec55
|