Skip to main content

Convert godot xml docs to docfx yml

Project description

Godot Doc 2 Yml

Convert godot xml docs exported via the godot --doctool for gdscript to yml compatible with docfx.

References

Setup

Build package

# Install dependencies
python3 -m pip install -r requirements.txt

# Install build if required
# python3 -m pip install build
# Project will be created in dir dist
python3 -m build

Linting

Lint using flake8 tool.

# Run flake8 from .flake8 config file
# Install via python3 -m pip install flake8
flake8 .

Tests

Run tests for project via Python's unittest module -- Unit testing framework

python3 -m unittest

Code Coverage

Compute code coverage using coveragepy

# Get code coverage using coverage
# Install via python -m pip install coverage
coverage run -m unittest discover

# Get results
coverage report -m

Example

Build godot docs using latest gddoc2yml.

# Install from repo
python3 -m pip install .

# Generate docs using gdxml2yml
gdxml2yml godot/doc/classes doc/api

# Startup docfx website
dotnet tool run docfx --serve doc/docfx.json

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

gddoc2yml-0.0.1.tar.gz (63.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gddoc2yml-0.0.1-py3-none-any.whl (26.5 kB view details)

Uploaded Python 3

File details

Details for the file gddoc2yml-0.0.1.tar.gz.

File metadata

  • Download URL: gddoc2yml-0.0.1.tar.gz
  • Upload date:
  • Size: 63.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for gddoc2yml-0.0.1.tar.gz
Algorithm Hash digest
SHA256 5cdfe633b5ec9fc00296306cae146652e29a47965382741ed7bf29c793ba63ab
MD5 454e1d47c2695be44502a49049a7c272
BLAKE2b-256 afd9b4824aeb4ae47f46f779389809384ab0965708dfe4f5407af07da26e5446

See more details on using hashes here.

File details

Details for the file gddoc2yml-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: gddoc2yml-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 26.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for gddoc2yml-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7b5db9e17edbc1f7a18521dfeb4c0294cba2a965760ad3e75f3ee12e57c1f9c4
MD5 445daa58a8741dd0e308ffcec63077c6
BLAKE2b-256 bb7005d2f69cf4bff0d6efdc315d80180ea08b50aa6009cb809cf20e388f4d61

See more details on using hashes here.

Supported by

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