Skip to main content

DociPy is designed to easily generate impressive static HTML documentations

Project description

DociPy v1.2.2

Project: DociPy
Version: 1.2.2
OS: OS Independent
Author: Irakli Gzirishvili
Mail: gziraklirex@gmail.com

DociPy is a Python command-line interface application. DociPy is designed to easily generate impressive static HTML documentations

Installation

To use DociPy, follow these steps:

  1. Run this CLI command to install the Python module pip install docipy
  2. Navigate to any directory containing markdown folder/files.md
  3. Open the CLI in the selected directory and run this command docipy render
  4. Update the documentation logo at assets/logo.ico and the author image at assets/author.png
  5. Run docipy upgrade to auto-increase the version number, or docipy upgrade (number) to set it manually

Do not change the file names in the assets folder, but feel free to update the files if needed

Output

The output will consist of 2 folders and 3 files in the root directory by default:

  • assets: A folder containing all required resources
  • version: A folder reserving previous versions
  • 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 render 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 render -r

Config

If you want to update any configuration parameters that were defined during the initial generation of the documentation:

  1. Run this CLI command to start updating configuration parameters docipy reform
  2. Skip parameters by pressing Enter to leave their values unchanged
  3. 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:

  1. Run this CLI command to start updating configuration parameters docipy reform
  2. Skip other parameters by pressing Enter to leave their values unchanged
  3. Enter Documentation URL value e.g https://example.com and press Enter

For local versions, the Documentation URL must be specified as a dot .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

docipy-1.2.2.tar.gz (307.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

docipy-1.2.2-py3-none-any.whl (304.7 kB view details)

Uploaded Python 3

File details

Details for the file docipy-1.2.2.tar.gz.

File metadata

  • Download URL: docipy-1.2.2.tar.gz
  • Upload date:
  • Size: 307.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for docipy-1.2.2.tar.gz
Algorithm Hash digest
SHA256 0a6b30684b44e9050edb570b6db3fa65d20ffad488994c06f69f84cdc44b8116
MD5 5cada96b9196a94d35b817ec414965e2
BLAKE2b-256 31d3671d902402b2f3dac00f178a70a525637ec84e09f7a2e118e6d2e8787f79

See more details on using hashes here.

File details

Details for the file docipy-1.2.2-py3-none-any.whl.

File metadata

  • Download URL: docipy-1.2.2-py3-none-any.whl
  • Upload date:
  • Size: 304.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for docipy-1.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7f27d1fac8aa0bba11a3d683746a80f71fd955a23a5e94f702b6cc2fa8766cbf
MD5 3d0b0fa2a9d7cf81a4cd07a79b93e769
BLAKE2b-256 fd0fbc1884b88988fb28276be933cf24c33b798caa13f6fcfc67d34d455b8784

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page