Skip to main content

DxLib documentation index — query, search, and link C++ projects

Project description

dxdoc — DxLib Documentation Index

Query, search, and link C++ projects to the official DX Library documentation.

Disclaimer: This is an unofficial, community-made tool. It is not affiliated with, endorsed by, or associated with the DX Library project or its authors. dxdoc only indexes function names and links to the official documentation — it does not reproduce or redistribute any DxLib content.

pip install dxdoc

Usage

CLI

# Look up a function
dxdoc find DrawLine

# Search by pattern
dxdoc search MV1Set*
dxdoc search Draw*

# List categories
dxdoc categories

# List functions in a category
dxdoc list "音利用関数"

# Open documentation in browser
dxdoc open DrawLine

# Show index statistics
dxdoc info

# Scan a C++ project for DxLib calls
dxdoc scan ./my-game/ --context

# Generate a C++ doc header for your project
dxdoc generate ./my-game/ -o dxlib_doc.h

Python API

import dxdoc

# Find a function
f = dxdoc.find("DrawLine")
print(f["declaration"])   # int DrawLine( int x1, int y1, int x2, int y2, unsigned int Color ) ;
print(f["detail_url"])    # https://dxlib.xsrv.jp/function/dxfunc_graph0.html#R2N1

# Search with wildcards
results = dxdoc.search("MV1Set*")

# By category
funcs = dxdoc.by_category("音利用関数")

# Open in browser
dxdoc.open_in_browser("DxLib_Init")

Data

The package embeds dxlib_functions.json — an index of 624 DxLib functions with:

  • Function name and category
  • Declaration (signature) for 622 functions
  • Direct URL to the official documentation
  • Platform support (Windows / Android / iOS)

License

MIT — Mehdi.A - the index references the official DxLib website but does not reproduce its content.

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

dxdoc-0.1.0.tar.gz (38.6 kB view details)

Uploaded Source

Built Distribution

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

dxdoc-0.1.0-py3-none-any.whl (40.3 kB view details)

Uploaded Python 3

File details

Details for the file dxdoc-0.1.0.tar.gz.

File metadata

  • Download URL: dxdoc-0.1.0.tar.gz
  • Upload date:
  • Size: 38.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for dxdoc-0.1.0.tar.gz
Algorithm Hash digest
SHA256 88889dd2cad7773a3e7df806a5c20d19e4284b50c3fb2e4060233c10937e6bc3
MD5 a1b61250fc4e5f767494ece413d29138
BLAKE2b-256 5b6c7d8e471e6926d74aaaa19f54bdaa417b64c75596466b1046cc1bafbe49a9

See more details on using hashes here.

File details

Details for the file dxdoc-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: dxdoc-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 40.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for dxdoc-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2a0451500254a84ed39a1aabb63882ca612e6ceb70ac19c109b894b33f6a0cdd
MD5 7cf567e63fce5923c3a84f5b56d98716
BLAKE2b-256 2013f97b70a9e6f68bdcb8057abbcf184db64d6b28da6426391a7c84c8d25a47

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