You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -91,6 +91,7 @@ See [the wiki](https://github.com/AutodeskGames/stingray-plugin/wiki/How-to-crea
91
91
-`stingray_sdk`: Autodesk Interactive editor and engine C/C++ header based plugin SDK downloaded by `spm`.
92
92
-`tools`: Various build tools downloaded by `spm`.
93
93
-`make.rb`: Build interface script. Execute `make.rb --help` to see all the options.
94
+
-`docs`: Ruby script and template to automatically generate documentation for your plugin using Adoc.
94
95
95
96
Once you've successfully built the Autodesk Interactive plugin, you can zip the `plugin` folder and **distribute** your plugin. For help getting started with with the Autodesk Interactive SDK, see the tutorial videos and topics in the [main Autodesk Interactive SDK Help](http://help.autodesk.com/view/Stingray/ENU/?guid=__sdk_help_introduction_html).
96
97
@@ -99,6 +100,19 @@ Once you've successfully built the Autodesk Interactive plugin, you can zip the
99
100
-`stingray-example.plugin`: Initial plugin descriptor. It is strongly recommended to rename the file name of this file.
100
101
-`sample_project/`: Example project that demonstrate how your plugin works.
101
102
103
+
## Documentation
104
+
105
+
*Note: This currently requires Stingray source access due to the dependency on [Adoc](https://git.autodesk.com/gameware/stingray/tree/develop/docs/build/tools/adoc).*
106
+
107
+
In the [`./docs`](./docs) directory there's a ruby script that will generate documentation for your plugin using Adoc. Refer to the comments in the script and the other documentation example files in the `./docs` dir, as well as the [Stingray repository /docs readme](https://git.autodesk.com/gameware/stingray/tree/develop/docs) to learn how to annotate your code comments for Adoc parsing.
108
+
109
+
You do not need to install the `ixg-doc-tools` to generate your plugin docs. Just define the `%SR_SOURCE_DIR%` environment variable (e.g. `c:\dev\stingray`) or modify the line in [`make_plugin_docs.rb`](./docs/make_plugin_docs.rb). Then run the script and refer to the output directory in the console to view the generated documentation.
110
+
111
+
Usage:
112
+
```
113
+
ruby docs/make_plugin_docs.rb
114
+
```
115
+
102
116
## More help
103
117
104
118
Please see the [Autodesk Interactive SDK Help](http://help-staging.autodesk.com/view/Stingray/ENU/?contextId=SDK_HOME) for more details on working with plug-ins, API reference documentation, and more.
STDERR.puts"\nPlease define the %SR_SOURCE_DIR% environment variable or modify this script's $explicit_engine_dir to point to your Stingray source directory.".bold.red
The best place to begin is by going through the [categories](categories.html), which cover the entire API grouped by topic. The category descriptions provide an overview. Alternatively, you can take a look at the [list of all objects](objects.html), or start exploring the elements exposed in the main [`stingray` namespace](ns_stingray.html).
9
+
10
+
Be sure to enable the plugin in the Stingray Editor:
0 commit comments