TEchX

TEchX is a lightweight typesetting system designed for creating easy and smooth technical documentation. It supports a custom .techx file format, allowing you to easily define sections like titles, authors, API references, and changelogs. TEchX can render these files into both HTML and PDF formats which can be displayed for documentation.

Features

Installation

You can install TEchX via pip.

Using PIP :

Visit the PyPI official release : TEchX

pip install techx==0.1

Also run pip install requirements.txt after cloning the repository to install some dependencies.

Manual Installation

Clone the repository and install it locally:

git  clone  https://github.com/yourusername/TEchX.git
cd  TEchX
pip  install  .

Usage

Once installed, you can use the techx command-line tool to generate HTML and PDF documentation.

Utilities

Generate HTML TechDoc

techx tech_doc.techx --output-html tech_doc.html

This command converts tech_doc.techx into tech_doc.html.

Generate PDF TechDoc

techx tech_doc.techx --output-pdf tech_doc.pdf

This command converts tech_doc.techx into tech_doc.pdf.

## TEchX syntax: TEchX provides a very easy and simple syntax to produce technical documentation for small scale projects and also individual files.

Techdoc uses a simple and intuitive syntax to define sections, code snippets, API references, and changelogs within .techx files. All commands begin with a ~ symbol, and the escape character is also ~. Below is a breakdown of the available commands and their usage.

1. Document Metadata

2. Sections

3. Code Snippets

4. API References

5. Changelog

6. Text Content

7. Escape Characters


Contributing

Currently, the project is in a nascent stage with more updates and development yet to come. Any new feature ideas and/or bugs can be reported in an issue or by opening a pull request in this repository! Design and implementation of some of the features is an ongoing process, so inputs are welcome. (PDF rendering is still at a very basic phase). All contributions are most welcome!

License

This project is an open source tool licensed under the MIT License.