Petlja's command-line interface for learning content
Project description
PetljaDoc - Petlja's tool for eLearning content
The tool is based on https://github.com/RunestoneInteractive/RunestoneComponents and https://github.com/sphinx-doc/sphinx and includes:
- additional Sphinx extensions
- partial Pygame implementation for Sculpt (https://github.com/Petlja/pygame4skulpt)
- additional ActiveCode features
- customized Sphinx theme
- customized project template
- exteded online course format
petljadoc
command line interface (CLI)
PetljaDoc currently depends on forked RunestoneComonents, but we are gradually closing the gap with the upstream repository through pull requests.
Installation
Use pip
to install
PetljaDoc:
pip3 install petljadoc
If you use Windows and previous command does not work, try:
py -3 -m pip install petljadoc
CLI usage
petljadoc [OPTIONS] COMMAND [ARGS]...
Options:
--help
Show help message
Commands:
init-course
Create a new online course project in your current directoryinit-runestone
Create a new Runestone project in your current directorypreview
Build the project, open it in a web browser, watch for changes, rebuild changed files and refresh browser after rebuild (using sphinx-autobuild)publish
Build the project and copy produced content indocs
subfolder (ready to be published using GitHub Pages)
By using petljadoc preview
, an author may keep opened a browser window for preview. Any saved changes will be updated in browser in about 5-10 seconds.
petljadoc publish
command helps an author to share a public preview of his work via GitHub Pages.
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
File details
Details for the file petljadoc-1.0.6.tar.gz
.
File metadata
- Download URL: petljadoc-1.0.6.tar.gz
- Upload date:
- Size: 9.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e32f59eadaddd8c48c0b0109f1dff6d9b7c69b187ec8c19b6a1e5c1809a7fe61 |
|
MD5 | 571af6db3d3bcd60780be6ec8be4fcc3 |
|
BLAKE2b-256 | 482a2450b9871de5b0bfbc86c8c3edf94ec988cf6b5140d2ee222e8b92cd9ff7 |
File details
Details for the file petljadoc-1.0.6-py3-none-any.whl
.
File metadata
- Download URL: petljadoc-1.0.6-py3-none-any.whl
- Upload date:
- Size: 11.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad2f4abe0ac6a0a5cc65675eb2ff99c10d38000cdede6e6e6fc412cd877e8a9b |
|
MD5 | 82dfa040bbddec66b3ff5f3ec960fb43 |
|
BLAKE2b-256 | ca775103f66db920eae4d2a744f2e3e1a355044da730f680fdc74fdbbb3ea8d8 |