GDQuest / GDQuest/gdscript-docs-maker

Running gdscript_docs_maker.__main__ on reference.json

Open
#94 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
297
Forks
26
PR merge metrics
No merged PRs in 30d

Description

**I'm submitting an Issue**

- [x] Bug report.
- [ ] Feature request.

## Bug report ##

**What is the current behavior?**
When running `python3 -m gdscript_docs_maker /godot-project/reference.json` I get the error message:

> opt/homebrew/opt/python@3.11/bin/python3.11: No module named gdscript-docs-maker.__main__; 'gdscript-docs-maker' is a package and cannot be directly executed

**What is the expected behavior?**
The module to run successfully generating the markdown files.

**Tell us the steps to reproduce the bug, and if possible share a minimal demo of the problem.**

1. Generate `reference.json`
2. Run `python3 -m gdscript_docs_maker /godot-project/reference.json`

**My Solution.**

Run `python3 -m gdscript_docs_maker.__main__ /godot-project/reference.json` instead.

## Other ##

**Other information**

Running on macOS 13.5.1 (22G90)
Python version `Python 3.11.6`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.