0.4.30 • Published 13 days ago

@rnw-scripts/doxysaurus v0.4.30

Weekly downloads
40
License
MIT
Repository
github
Last release
13 days ago

@rnw-scripts/doxysaurus

The new Doxysaurus tool converts Doxygen generated XML to markdown files for Docusaurus.

The main goal for the tool is to generate docs for public C++ APIs defined in Microsoft.ReactNative.Cxx project. Doxygen can process code comments and generate HTML, LaTeX and other formats. To make the generated docs working with our RNW Docusaurus documentation system, we have created the new Doxysaurus tool that runs Doxygen to generate documentation XML and then converts it to the Docusaurus markdown files.

In this PR we add cpp_generate_documentation_comments = doxygen_double_slash_exclamation to .editorconfig to instruct Visual Studio and VS Code to use //! style comments for C++ Doxygen documentation. The //! makes it easy to use, while it is different from the /// which is typically used for C# XML comments. This option enables VS to use //! style comments in IntelliSense and to provide autogenerated tags when we type //! on top of a function.

Run this command from the root of the repo to generate docs:

yarn doc --output ..\react-native-windows-samples\docs

It does the following:

  • downloads Doxygen executable on-demand;
  • runs Doxygen to generate XML files;
  • converts the Doxygen XML into an in-memory document model;
  • generates Docusaurus markdown files by applying Mustache templates to the model in the provided output folder;
  • if the output folder is not provided then the markdown files are generated in the out folder next to the xml folder in the buildDir.

Run the Doxysaurus tool in the 'watch' mode for interactive documentation development:

yarn doc --watch --output ..\react-native-windows-samples\docs

Now we can edit C++ comments, save the file, and see the docs in the browser updated after a small delay.

0.4.30

13 days ago

0.4.29

13 days ago

0.4.28

28 days ago

0.4.27

1 month ago

0.4.26

2 months ago

0.4.25

2 months ago

0.4.24

2 months ago

0.4.23

2 months ago

0.4.22

2 months ago

0.4.21

3 months ago

0.4.20

3 months ago

0.4.19

3 months ago

0.4.17

7 months ago

0.4.18

7 months ago

0.4.15

10 months ago

0.4.16

8 months ago

0.4.13

10 months ago

0.4.14

10 months ago

0.4.12

10 months ago

0.4.9

11 months ago

0.4.8

12 months ago

0.4.10

11 months ago

0.4.11

11 months ago

0.4.7

12 months ago

0.4.6

1 year ago

0.4.5

1 year ago

0.4.4

1 year ago

0.4.3

1 year ago

0.4.1

1 year ago

0.4.2

1 year ago

0.4.0

1 year ago

0.3.4

1 year ago

0.3.0

1 year ago

0.2.1

2 years ago

0.2.0

2 years ago

0.3.2

1 year ago

0.3.1

1 year ago

0.3.3

1 year ago

0.1.18

2 years ago

0.1.19

2 years ago

0.1.16

2 years ago

0.1.17

2 years ago

0.1.13

2 years ago

0.1.14

2 years ago

0.1.15

2 years ago

0.1.12

2 years ago

0.1.10

2 years ago

0.1.11

2 years ago

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago