|
1 | | -# CSLA .NET {#mainpage} |
| 1 | +# Doxygen Documentation Generation |
2 | 2 |
|
3 | | - |
| 3 | +This document provides an overview of how to generate documentation using Doxygen for the CSLA .NET project. |
4 | 4 |
|
5 | | -CSLA .NET is a home for your business logic in any .NET application. |
| 5 | +## Prerequisites |
6 | 6 |
|
7 | | -> [!note] |
8 | | -> Contributors!!! |
| 7 | +Before generating the documentation, ensure you have the following installed: |
9 | 8 |
|
10 | | -[Contributors](#contributors) |
11 | | - |
12 | | -For more information, please see: |
| 9 | +- [Doxygen](https://www.doxygen.nl/) |
| 10 | +- Clone the [CSLA .NET repository](https://github.com/MarimerLLC/csla) |
13 | 11 |
|
14 | | -* [CSLA .NET home page](https://cslanet.com) |
15 | | -* [CSLA .NET GitHub repo](https://github.com/MarimerLLC/csla) |
16 | | -* [CSLA .NET Discussions](https://github.com/MarimerLLC/csla/discussions) |
| 12 | +## Generating Documentation |
17 | 13 |
|
18 | | -## Basic information |
| 14 | +To generate the documentation, run the following command _one level above_ the root directory of the project: |
19 | 15 |
|
20 | | -* [What is CSLA .NET?](What-is-CSLA-.NET.md) |
21 | | -* [Sponsor CSLA .NET](https://github.com/sponsors/rockfordlhotka) |
22 | | -* [Testimonials and Usage](Testimonials-and-Usage.md) |
23 | | -* [CSLA .NET overview whitepaper](https://github.com/MarimerLLC/csla/raw/master/Support/magenic-white-paper-overview-of-csla.pdf) |
| 16 | +```bash |
| 17 | +doxygen -q csla/Source/docs/doxyfile |
| 18 | +``` |
24 | 19 |
|
25 | | -## External links |
| 20 | +This will generate the documentation based on the configuration specified in the `doxyfile`. The output will be placed in the directory specified by the `OUTPUT_DIRECTORY` setting in the `doxyfile`. The default is an `output` directory at the level where you ran the command. |
26 | 21 |
|
27 | | -* [Rockford Lhotka home page](https://lhotka.net) |
28 | | -* [Rockford Lhotka blog](https://blog.lhotka.net) |
29 | | -* [Jonny Bekkum blog](https://jonnybekkum.wordpress.com/) |
30 | | -* [Wikipedia page](http://en.wikipedia.org/wiki/CSLA_.NET) |
31 | | -* [Open Hub](https://www.openhub.net/p/cslanet) |
32 | | -* [LinkedIn](https://www.linkedin.com/groups/99453/) |
33 | | -* Facebook [Group](https://www.facebook.com/groups/cslanet/) | [Page](https://www.facebook.com/CslaNet) |
34 | | -* [StackOverflow](http://stackoverflow.com/tags/csla/info) |
35 | | -* [Bluesky](https://bsky.app/profile/cslanet.bsky.social) |
36 | | -* [Fediverse/Mastodon](https://dotnet.social/@cslanet) |
| 22 | +```text |
| 23 | +csla/ |
| 24 | +output/ |
| 25 | +``` |
| 26 | + |
| 27 | +The generated documentation will include HTML files that you can open in a web browser to view the API documentation. |
| 28 | + |
| 29 | +## Viewing the Documentation |
| 30 | + |
| 31 | +To view the generated documentation, open the `index.html` file located in the `output/html` directory in your web browser. |
| 32 | + |
| 33 | +```text |
| 34 | +output/html/index.html |
| 35 | +``` |
| 36 | + |
| 37 | +This will display the main page of the generated documentation, where you can navigate through the various classes, files, and namespaces documented by Doxygen. |
| 38 | + |
| 39 | +## Landing Page Content |
| 40 | + |
| 41 | +The `docs-readme.md` file serves as the landing page for the generated documentation. It provides an overview of the project, instructions for generating the documentation, and guidance on how to navigate and use the generated API documentation. This file is written in Markdown and is converted to HTML by Doxygen to create the main page of the documentation. |
0 commit comments