GitXplorerGitXplorer
A

solDoc

public
2 stars
0 forks
3 issues

Commits

List of commits on branch main.
Unverified
261879503bee9795c5898451cf096e69ebc97591

wip

AAbhinavMir committed 2 years ago
Unverified
83dac43186f2ea321487c5510bfa940f865af7d1

wip

AAbhinavMir committed 2 years ago
Unverified
84a2721a76dd0f3b29a355e552dc71786486bbd1

wip

AAbhinavMir committed 2 years ago
Unverified
69d1643cb4eca8763e735be87addfa0e2c46a401

wip

AAbhinavMir committed 2 years ago
Unverified
9c3f4ab44719ec867e670deee6793b44f8cfa80e

wip

AAbhinavMir committed 2 years ago
Unverified
f89670c695c49e0c00aa3f65550811b91482ea94

wip

AAbhinavMir committed 2 years ago

README

The README file for this repository.

Solidity Documentation Generator

This is a Python script that generates HTML documentation for Solidity smart contracts.

How to use

  1. Clone the repository:
git clone https://github.com/abhinavmir/soldocs.git
  1. Edit the src/config.soldoc file to specify the following:
  • directory: The directory containing your Solidity files.
  • css: The path to your CSS file.
  • output: The path and name of the output HTML file.

Example config.soldoc file:

directory = contracts/
css = css/style.css
output = docs/index.html
  1. Run the script:
python src/soldoc.py

Features

  • Generates HTML documentation for all Solidity contracts in a directory.
  • Uses regular expressions to extract comments and function signatures from Solidity code.
  • Supports markdown syntax in comments.
  • Generates an index of all contracts and functions.
  • Uses the Skeleton CSS framework for styling.

Dependencies

  • Python 3
  • os
  • re

License

This code is licensed under the MIT License. See the LICENSE for details.