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 buildcommand. -
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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71ac002c1514e94e560ed1fe2483ca28bdd974e0adb2d729f512208b0568654f
|
|
| MD5 |
9d6d189d7087d51ed6b557420c638e75
|
|
| BLAKE2b-256 |
5b9cc8b6bffe0c31e89f6d15cfdf61c48c7daa56c4aac5ffb2fdb144a71d7718
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82ec4a4b5ec0c2021fa5866a5423762552512e22001c74879b6c231dd8b41280
|
|
| MD5 |
23843f6338457892191b5e749ed2197b
|
|
| BLAKE2b-256 |
9cf85cf0dff16d86e5f563730ae6d36877f3b134726da6ed12b315be6339d6d9
|