Comments (7)
It's actually stored in the export_presets.cfg
, and is set per-preset. Under GDScript it'd be something like:
var file := File.new()
if file_exists("res://export_presets.cfg"):
var export_config := ConfigFile.new()
var config_error := export_config.load("res://export_presets.cfg")
if config_error == OK:
var product_version = export_config.get_value(
"preset.0.options",
"application/product_version"
)
if product_version:
print(product_version)
For things that aren't going to be exported, it's not exactly convenient. May need to add our own string in the ProjectSettings as custom data, or edit the reference.json file once it's been generated.
from gdscript-docs-maker.
There's also this plugin that I stumbled on, though it's for 2.1 and it hasn't been updated in 2 years.
from gdscript-docs-maker.
This pull request should solve this issue once it's merged 🙂
from gdscript-docs-maker.
Thanks, I'll look at the version format and implement something sometime
from gdscript-docs-maker.
How about writing this? Where should I put the version number? The tool generates standalone markdown files for each class. Should we write the version number in each of them? Or should we write an index.md file with e.g. a TOC and the main project information?
from gdscript-docs-maker.
The project.godot DOES have a Project Name and Project Description. Seems like pretty apt to put that in a main index.
And if we add categories, we can make the TOC work pretty well. Which brings us back to #29
from gdscript-docs-maker.
Alright I'll mark this as solved and move the requirements to #29
from gdscript-docs-maker.
Related Issues (20)
- Add ability to ignore any property based on metadata
- It doesn't work as it should HOT 2
- build_re_pattern is missing
- Script did not work, lots of errors HOT 1
- Can't get it to work without modifying ReferenceCollectorCLI.gd HOT 3
- Support godot <3.1 HOT 7
- Support for nested lists in markdown HOT 1
- Links to Extensions which are core Godot classes, should link to the official documentation HOT 1
- const documentation is not being produced consitently.
- index is being generated blank HOT 3
- Broken `pip install gdscript_docs_maker`? HOT 1
- generate_reference not filtering directories. HOT 1
- generate-reference.bat fails when folder paths contains whitespaces HOT 4
- Display errors of scripts in terminal
- Replicate folder structure option for generate-ref script
- Support for license boilerplate text HOT 5
- Exclude warning ignore comments HOT 2
- Running gdscript_docs_maker.__main__ on reference.json
- KeyError: 'name' while generating markdown files HOT 4
- Dockerfile: The file /game/reference.json was not found HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gdscript-docs-maker.