Skip to main content

A Python markdown generator for C# libraries documentation.

Project description

Python command line tool to generate markdown documents from C# Library files and their XML documentation.

Python version Build Status PyPI

Requirements

The generated files markdown files are meant to be used with mkdocs (with the material theme), but may be compatible with other site generators.

How to use

The script requires setting the DocumentationFile setting in the project’s configuration, e.g.

<DocumentationFile>bin\Debug\ExampleProject.xml</DocumentationFile>

Once this has been set, an XML file will be built along with the library’s dll file.

Now, when running the script, the path to the dll and the xml file must be specified:

python markdowndotnet.py ExampleProject.dll ExampleProject.xml

By default, the files will be generated in a folder named output/ in the working directory.

This contains markdown files generated for each object found in the assembly, ordered in directories by namespace. Aditionally, a file named index.yml is created, which can be appened to a mkdocs.yml file to use with mkdocs.

Features

  • Generates markdown documents from a compiled binary (dll) and it’s documentation file.

  • Displays all public fields, properties and methods, along with their parameters and return types.

  • Generate internal links between members

  • External links to system classes

  • Partial support for summary, params and returns tags.

Planned features

  • Support for all XML tags

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

markdowndotnet-0.1.0a2.tar.gz (9.1 kB view details)

Uploaded Source

File details

Details for the file markdowndotnet-0.1.0a2.tar.gz.

File metadata

File hashes

Hashes for markdowndotnet-0.1.0a2.tar.gz
Algorithm Hash digest
SHA256 19280fd86c80513878071e576d02084433eb53dfe374e2eb448599f1b5d60135
MD5 f5f95670e3eee0990d598905952feaa7
BLAKE2b-256 97253f0815ebe60f8a8b71ea610e3e65ca1465d163ba4175d1127e52fb656200

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page