Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sphinx-business-theme

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sphinx-business-theme

A theme for Sphinx to generate PDF documentation

  • 0.1.0
  • PyPI
  • Socket score

Maintainers
1

.. image:: https://raw.githubusercontent.com/Nekmo/sphinx-business-theme/master/logo.png :width: 100%

|

.. image:: https://img.shields.io/travis/Nekmo/sphinx-business-theme.svg?style=flat-square&maxAge=2592000 :target: https://travis-ci.org/Nekmo/sphinx-business-theme :alt: Latest Travis CI build status

Sphinx Business Theme ##################### Theme for Sphinx to create PDF files with a professional design. Use Weasyprint to generate the PDF file. Download example <https://github.com/Nekmo/sphinx-business-theme/releases/download/v0.0.0/Sphinx.Business.Theme.pdf>_.

Installation

Install the latest version from the source code using (you need previously installed pip <https://pip.pypa .io/en/stable/installing/>). Only Python 3+ is supported <https://realpython.com/installing-python/>::

pip3 install https://github.com/Nekmo/sphinx-business-theme/releases/latest/download/business_theme-0.1.0.tar.gz#egg=business_theme

Currently only tested on unix systems. The command must be executed in a terminal.

Create documentation

A Cookicutter <https://github.com/cookiecutter/cookiecutter>_ template is included to easily create new documentation. Execute in a terminal::

$ create-docs

This command creates a new documentation directory. Go to the directory and run make pdf (only for unix) to create a pdf::

$ cd $ make pdf

However, the pdf starts without content. Write your document by editing the files index.rst and readme.rst. The syntax of the files is RestructuredText (rst). The syntax documentation is on the Sphinx website <https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html>_.

Demo project

You can play updating content inside docs/demo dir and making the pdf again as:

::

cd docs/demo make pdf

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc