Skip to main content

Build reStructuredText to HTML, PDF and text

Project description

fx-doc

Build HTML, PDF from reStructuredText.

Install

$ pip install fx-doc

Using

Compile reStructuredText to document files

$ fx-doc build SRC DEST [OPTIONS]
  • SRC: Directory contains reStructuredText source files.

  • DEST: Directory contains build files.

  • OPTIONS:

    • --dist: Compile and optimize, mean distribution.
    • --no-pdf: Don't make PDF file.
    • --no-html: Don't make HTML files.
    • --no-text: Don't make text files.
    • --force: Compile without cache files.

Server build files on HTTP

$ fx-doc serve DEST [OPTIONS]
  • DEST: Directory contains compiled files. It is DEST of fx-doc build command.

  • OPTIONS:

    • --port: Port to listen, default is 8080

Development

Install following pacakges:

$ apt-get install python 
$ apt-get install texlive-full  # required for PDF building
$ sudo pip install virtualenv

$ ./env init
$ . ./venv/bin/activate
$ ./env install
$ fx-doc build doc dest
$ fx-doc serve dest

Note: For mac, we can use MacTeX [1] instead of texlive-full.

Distribute

Creat file "~/"

$ ./push-pip.sh

Links

[1] https://www.tug.org/mactex/mactex-download.html

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

fx-doc-0.12.0.tar.gz (3.3 MB view details)

Uploaded Source

Built Distribution

fx_doc-0.12.0-py3-none-any.whl (3.3 MB view details)

Uploaded Python 3

File details

Details for the file fx-doc-0.12.0.tar.gz.

File metadata

  • Download URL: fx-doc-0.12.0.tar.gz
  • Upload date:
  • Size: 3.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.5.3

File hashes

Hashes for fx-doc-0.12.0.tar.gz
Algorithm Hash digest
SHA256 71ac002c1514e94e560ed1fe2483ca28bdd974e0adb2d729f512208b0568654f
MD5 9d6d189d7087d51ed6b557420c638e75
BLAKE2b-256 5b9cc8b6bffe0c31e89f6d15cfdf61c48c7daa56c4aac5ffb2fdb144a71d7718

See more details on using hashes here.

File details

Details for the file fx_doc-0.12.0-py3-none-any.whl.

File metadata

  • Download URL: fx_doc-0.12.0-py3-none-any.whl
  • Upload date:
  • Size: 3.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.5.3

File hashes

Hashes for fx_doc-0.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 82ec4a4b5ec0c2021fa5866a5423762552512e22001c74879b6c231dd8b41280
MD5 23843f6338457892191b5e749ed2197b
BLAKE2b-256 9cf85cf0dff16d86e5f563730ae6d36877f3b134726da6ed12b315be6339d6d9

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