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.2.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.2.0-py3-none-any.whl (40.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dxdoc-0.2.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.2.0.tar.gz
Algorithm Hash digest
SHA256 ac406754218e3df2d950acc615cf9a167b516471dc08d5a9c403cc4f86fff8fa
MD5 724df9fb2571bbc9e6298f7eeb015f81
BLAKE2b-256 1b8126bfe02584825f67c9e25cde6b5fc905cba7b9aae05828d7681c6ef29b66

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dxdoc-0.2.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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 44e6b98d9920a858c95fa2ae0a6669614efd57111cdf5676ca6e4a92d7891380
MD5 e8d95bf59ab171029006769161079f12
BLAKE2b-256 41b3a6bc82d0c5b324be16c809b5badc86fb9003c0aea2cd7c61f12f5ef976f5

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