Parse a list of markdown files to a website with index.
Project description
- Usage:
parse_and_list_markdown_files.py [options] “YOUR WEBSITES NAME” PATH_TO_YOUR_FILES_DIR http://YOUR_WEBSITES.URL
for default usage, or
parse_and_list_markdown_files.py –help
for getting help
- Options:
–help - get help
–force-update - reparse all sites and update all date tags.
- Examples:
parse_and_list_markdown_files.py “pyMarkdown Minisite” . http://draketo.de/proj/pymarkdown_minisite/index.html
Parse the site of this script.
- Plans:
If an index.mdwn is present use that instead of parsing one ourself.
- Ideas:
Too many, so I keep them out just now :)
Website: U{http://draketo.de/proj/pymarkdown_minisite/}
Source URL (Mercurial): U{http://freehg.org/u/ArneBab/pymarkdown_minisite/}
PyPI URL: U{http://pypi.python.org/pypi/pymarkdown_minisite}
Changelog:
pymarkdown_minisite 0.2
Added the option to create a table of content (“[TOC]” as marker).
Requires at least python-markdown 2.0 (because of the [TOC]).
Only build an index, if no index.mdwn file is present (allows for customizing the index at some place).
Added the option to parse files with several different suffixes - currently .mdwn and .txt
Updated help/usage output.
Added simple_usage and improved readme.
Added copyright entry in Python style.
Added static website information for PyPI.
Moved project to http://draketo.de/proj/pymarkdown_minisite/
FIX: Now it takes utf-8 content correctly.
FIX: Usage as Mercurial hook failed with relative source dir.
pymarkdown_minisite 0.1.2
Added the –force-update option which tells the script to parse ALL files again and update all date lines.
Added date lines which automatically get updated when the content changes.
pymarkdown_minisite 0.1.1
Smaller fixes for things which showed themselves after the upload.
pymarkdown_minisite 0.1
Added Python implementation and uploaded it to PyPI.
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
File details
Details for the file pymarkdown_minisite-0.2.tar.gz
.
File metadata
- Download URL: pymarkdown_minisite-0.2.tar.gz
- Upload date:
- Size: 18.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c5cccfc9e1ce167206531ad0e0076f6b44e887d031f3fe00cd185d694705618 |
|
MD5 | e1d00a953f262bd1c553ad457d99ea81 |
|
BLAKE2b-256 | 4bfffb10cf347bd915e4e69ecb74e602cfa5dc4f03e3804d05d88bab8f12c356 |