Dexweb is a Python library to generate a dex (website) from text, PDF, DOCX, PPTX and JSON files. Dexweb documentation and The Matrix Dex are generated by dexweb and freely hosted on GitHub Pages. Dexweb was built by Research Engine for scientists to host their own journals, companies to publish financial reports in HTML, users to blog with Python, and more.
1. Install dexweb Python library in terminal
pip install dexweb
2. In a new folder, create a file run.py
with the following lines:
from dexweb import dexgen
dex = dexgen.Dexgen()
3. Open terminal and run this file:
python run.py
Running this for the first time generates Dex Root Directory Structure
4. Put files in /to_add/
folder to add to dex (website)
5. Run twice
python run.py
6. Open /gen/index.html
to view generated dex. Folder /gen/
contains dex (website).