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.0.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.0-py3-none-any.whl (26.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gddoc2yml-0.0.0.tar.gz
Algorithm Hash digest
SHA256 4cb61300735aaf413f67745315c2385faeabf01dc061136019dde4aece299d21
MD5 ccb7fd92cadf7743a5d86c6fa688fc6b
BLAKE2b-256 c47d96efb6cb61dddbd94efc0d702a6843b6e15821e53fbec9996dc4e27381a1

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for gddoc2yml-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5888605b85a254384ef32663a99fe46cf13d34cbf00f735aecb036c7de7b668c
MD5 05382faf738a48604f8ea7b29b52d05c
BLAKE2b-256 db96edf13e9d058114216af6c6e944bc21042e71ad71d403dba611cece592862

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