Skip to content

Commit 25bca55

Browse files
#4742 Document use of doxygen for doc creation
1 parent feea949 commit 25bca55

File tree

5 files changed

+74
-35
lines changed

5 files changed

+74
-35
lines changed

Source/docs/contributors.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

Source/docs/docs-readme.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# CSLA .NET {#mainpage}
2+
3+
![CSLA logo](https://raw.github.com/MarimerLLC/csla/main/Support/Logos/csla%20win8_compact_s.png)
4+
5+
CSLA .NET is a home for your business logic in any .NET application.
6+
7+
## Basic information
8+
9+
Getting started:
10+
11+
* [What is CSLA .NET?](https://github.com/MarimerLLC/csla/blob/main/docs/What-is-CSLA-.NET.md)
12+
* [CSLA .NET overview whitepaper](https://github.com/MarimerLLC/csla/raw/main/Support/magenic-white-paper-overview-of-csla.pdf)
13+
14+
For more information, please see:
15+
16+
* [CSLA .NET home page](http://www.cslanet.com)
17+
* [CSLA .NET GitHub repo](https://github.com/MarimerLLC/csla)
18+
* [Announcements](https://github.com/MarimerLLC/csla/discussions?discussions_q=category%3AAnnouncements)
19+
* [CSLA .NET Discussions](https://github.com/MarimerLLC/csla/discussions)
20+
* [Sponsor CSLA .NET](https://github.com/sponsors/rockfordlhotka)
21+
22+
## Social Media
23+
24+
* [Bluesky](https://bsky.app/profile/cslanet.bsky.social)
25+
* [Mastodon](https://dotnet.social/@cslanet)
26+
* [LinkedIn](https://www.linkedin.com/company/91103195/)
27+
* [Facebook](https://www.facebook.com/groups/cslanet/)
28+
29+
## Contributors
30+
31+
* [Contributors in GitHub](https://github.com/MarimerLLC/csla/graphs/contributors)
32+
* [More comprehensive list](https://www.openhub.net/p/cslanet/contributors/summary) including from before our use of GitHub
33+
34+
## External links
35+
36+
* [Wikipedia page](http://en.wikipedia.org/wiki/CSLA_.NET)
37+
* [Open Hub](https://www.openhub.net/p/cslanet)
38+
* [StackOverflow](http://stackoverflow.com/tags/csla/info)
39+
* [Rockford Lhotka blog](https://blog.lhotka.net)

Source/docs/doxyfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,8 @@ INPUT = csla/Source/Csla \
1818
csla/Source/Csla.Xaml.Maui \
1919
csla/Source/Csla.Xaml.Shared \
2020
csla/Source/Csla.Xaml.Wpf \
21-
csla/docs \
22-
csla/Source/docs/contributors.md
23-
USE_MDFILE_AS_MAINPAGE = csla/docs/readme.md
21+
csla/Source/docs/docs-readme.md
22+
USE_MDFILE_AS_MAINPAGE = csla/Source/docs/docs-readme.md
2423
OUTPUT_DIRECTORY = output
2524
EXTRACT_ALL = YES
2625
RECURSIVE = YES

Source/docs/readme.md

Lines changed: 32 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,41 @@
1-
# CSLA .NET {#mainpage}
1+
# Doxygen Documentation Generation
22

3-
![CSLA logo](https://raw.github.com/MarimerLLC/csla/main/Support/Logos/csla%20win8_compact_s.png)
3+
This document provides an overview of how to generate documentation using Doxygen for the CSLA .NET project.
44

5-
CSLA .NET is a home for your business logic in any .NET application.
5+
## Prerequisites
66

7-
> [!note]
8-
> Contributors!!!
7+
Before generating the documentation, ensure you have the following installed:
98

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)
1311

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
1713

18-
## Basic information
14+
To generate the documentation, run the following command _one level above_ the root directory of the project:
1915

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+
```
2419

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.
2621

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.

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ Here are some resources to help you get started with CSLA .NET:
4141

4242
## Contributing
4343

44-
We welcome contributions to CSLA .NET.
44+
We welcome contributions to CSLA .NET.
4545

4646
* Please read the [contribution guidelines](https://github.com/MarimerLLC/csla/blob/main/.github/CONTRIBUTING.md) for more information.

0 commit comments

Comments
 (0)