mirror of
https://github.com/Relintai/sfw.git
synced 2024-11-08 07:52:09 +01:00
Generate doc files into an out folder.
This commit is contained in:
parent
0a8ad4f33a
commit
0c22c5fa96
2
.gitignore
vendored
2
.gitignore
vendored
@ -8,7 +8,7 @@ obj/
|
|||||||
|
|
||||||
tools/merger/out/
|
tools/merger/out/
|
||||||
|
|
||||||
tools/doc/index.gen.md.html
|
tools/doc/out/
|
||||||
|
|
||||||
tools/doc/sfw.h
|
tools/doc/sfw.h
|
||||||
tools/doc/sfw.cpp
|
tools/doc/sfw.cpp
|
||||||
|
@ -468,12 +468,14 @@ void process_file(const String &path) {
|
|||||||
d = d.replace("$STRUCTS$", generate_section_class_list(structs));
|
d = d.replace("$STRUCTS$", generate_section_class_list(structs));
|
||||||
d = d.replace("$CLASSES$", generate_section_class_list(classes));
|
d = d.replace("$CLASSES$", generate_section_class_list(classes));
|
||||||
|
|
||||||
f.write_file("index.gen.md.html", d);
|
f.write_file("out/index_remaining.gen.md.html", d);
|
||||||
}
|
}
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv) {
|
||||||
SFWCore::setup();
|
SFWCore::setup();
|
||||||
|
|
||||||
|
//todo create folder
|
||||||
|
|
||||||
List<String> args;
|
List<String> args;
|
||||||
|
|
||||||
for (int i = 1; i < argc; ++i) {
|
for (int i = 1; i < argc; ++i) {
|
||||||
|
Loading…
Reference in New Issue
Block a user