Skip to main content

AutoML Theme for Sphinx

Project description

AutoML Sphinx Theme

The goal of this repository is to set up a documentation as fast and as clean as possible. In your source project you only need to install automl_sphinx_theme to get all the features you need. Those include automatic API generation, beautiful theme, numpy docstring interpretation, and executing/plotting examples.

NO COMPLICATED .conf OR SPHINX KNOWLEDGE ARE NECESSARY!
:sparkling_heart: You're welcome. :sparkling_heart:

Installation

  • Include name, version, author, copyright in {PACKAGE_NAME}/__init__.py.
  • Copy the docs and examples directories to your root folder. You don't have to include all files but you should at least include docs/conf.py and docs/Makefile.
  • In docs/conf.py change src to {PACKAGE_NAME}. Adapt the file if needed.
  • Install this repo via pypi:
pip install automl_sphinx_theme
  • You can generate the docs via make html inside the docs directory. Have a look inside the Makefile to get more information and commands.

We recommend using the repository automl_template which incorporates automl_sphinx_theme automatically.

Github

The documentation can be pushed automatically to a branch, which is used to display a webpage. Follow the steps to enable it:

  • Copy .github/workflows/docs.yml to you root folder.
  • Create a new branch called gh-pages.
  • Go to settings > pages and select gh-pages as source.

Version Switching

AutoML Sphinx Theme provides the user to link older versions of documentations (must be done manually!). Specify versions in the options to enable it. We recommend setting up a Github workflow which automatically pushes the latest tag to the gh-pages. From there, you could link the version directly.

Customization

  • Logo: Add docs/images/logo.png.
  • Favicon: Add docs/images/favicon.ico.

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

automl_sphinx_theme-0.2.0.tar.gz (1.4 MB view details)

Uploaded Source

File details

Details for the file automl_sphinx_theme-0.2.0.tar.gz.

File metadata

  • Download URL: automl_sphinx_theme-0.2.0.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for automl_sphinx_theme-0.2.0.tar.gz
Algorithm Hash digest
SHA256 cd6924610cbc5706ae874eeef36645f88c503a3cfd4ad02e0fe763cc8e95dccf
MD5 ba770d644373bb24ea1c1a95f52918b9
BLAKE2b-256 bec33a6a7c3f4529b5e8174ddb8c2ef70dbd74ed2ee5de7e16ddd9cb43d9ffc0

See more details on using hashes here.

Supported by

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