Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hreikin/pelican-mini-wiki
Add a minimal wiki to any Pelican theme.
https://github.com/hreikin/pelican-mini-wiki
minimal pelican pelican-plugins pelican-theme pelican-wiki wiki
Last synced: 21 days ago
JSON representation
Add a minimal wiki to any Pelican theme.
- Host: GitHub
- URL: https://github.com/hreikin/pelican-mini-wiki
- Owner: hreikin
- License: mit
- Created: 2023-02-12T21:01:26.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-13T21:57:13.000Z (almost 2 years ago)
- Last Synced: 2024-11-19T17:54:15.395Z (3 months ago)
- Topics: minimal, pelican, pelican-plugins, pelican-theme, pelican-wiki, wiki
- Language: Python
- Homepage:
- Size: 35.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
Pelican Mini Wiki: A Plugin for Pelican
====================================================[![Build Status](https://img.shields.io/github/actions/workflow/status/hreikin/pelican-mini-wiki/build-and-publish-on-tagged-release.yml?branch=main)](https://github.com/hreikin/pelican-mini-wiki/actions)
[![PyPI Version](https://img.shields.io/pypi/v/pelican-mini-wiki)](https://pypi.org/project/pelican-mini-wiki/)
[![License](https://img.shields.io/pypi/l/pelican-mini-wiki?color=blue)](https://github.com/hreikin/pelican-mini-wiki/blob/main/LICENSE.md)Pelican Mini Wiki allows you to add a minimal wiki to any Pelican theme and website.
> **NOTE:** still under development, will not currently work or be useful.
Installation
------------This plugin can be installed via:
python -m pip install pelican-mini-wiki
Usage
-----Instructions coming soon. Configuration settings are available below.
```python
# pelicanconf.py...
# REQUIRED SETTINGS
MINI_WIKI = True # Enables the plugin.
MINI_WIKI_PATH ='wiki' # Path to wiki files, relative to `content/` directory.
# RECOMMENDED SETTINGS
PAGE_PATHS = ['pages', MINI_WIKI_PATH] # Sets paths to look in for `pages` type content.
PATH_METADATA = '(?P.*)\..*' # Strips the file extension from the `path` variable.
PAGE_URL = '{path_no_ext}/' # Replaces the stripped file extension for the URL with a forward slash.
PAGE_SAVE_AS = '{path_no_ext}.html' # Replaces the stripped file extension for saving.
...```
Contributing
------------Contributions are welcome and much appreciated. Every little bit helps. You can contribute by improving the documentation, adding missing features, and fixing bugs. You can also help out by reviewing and commenting on [existing issues](https://github.com/hreikin/pelican-mini-wiki/issues).
To start contributing to this plugin, review the [Contributing to Pelican](https://docs.getpelican.com/en/latest/contribute.html) documentation, beginning with the **Contributing Code** section.
License
-------This project is licensed under the MIT license.