Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doxygen libs #1493

Merged
merged 15 commits into from Nov 5, 2019
Merged

Doxygen libs #1493

merged 15 commits into from Nov 5, 2019

Conversation

Labels
None yet
Projects
None yet
4 participants
@nmathewson
Copy link
Contributor

@nmathewson nmathewson commented Nov 4, 2019

No description provided.

nmathewson added 12 commits Nov 4, 2019
This commit takes descriptions for src/lib and moves them into our
doxygen hierarchy.  I've covered everything from lib/cc through
lib/sandbox here.
This commit was automatically generated with:

find src -name '*.dox' |xargs perl -i -pe 's{\@dir ([^/])}{\@dir /$1};'
We need to use this kind of trickery to make directory links work in
out-of-tree builds.
This commit was generated with:

find src -name '*.dox' |xargs perl -i -pe 's{\\ref src/(\S+) \"\S+}{\\refdir{$1}};'
This one was missed by the perl script in the last commit because
it spanned a newline.
(This copies documentation from doc/HACKING/design, and edits for
concisensess and clarity.)
@coveralls
Copy link

@coveralls coveralls commented Nov 4, 2019

Pull Request Test Coverage Report for Build 7051

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 62.129%

Totals Coverage Status
Change from base Build 7047: 0.0%
Covered Lines: 48342
Relevant Lines: 77809

💛 - Coveralls

@@ -1,4 +1,5 @@
/**
@dir /feature/hs
@brief feature/hs
@brief feature/hs: v3 (current) onion service protocol
Copy link
Contributor

@dgoulet-tor dgoulet-tor Nov 5, 2019

I would be super greatful if you would put here a ref to the rend-spec-v3.txt :D like it was done above:

dir-spec.txt,

- `ext` -- Code maintained elsewhere that we include in the Tor
source distribution.

- \refdir{lib} -- Lower-level utility code, not necessarily
Copy link
Contributor

@dgoulet-tor dgoulet-tor Nov 5, 2019

Not sure refdir outputs properly:

I get:

./src/lib "lib" – Lower-level utility code, not necessarily tor-specific.

Copy link
Contributor Author

@nmathewson nmathewson Nov 5, 2019

Hm. It works for me -- let's see how it works when we build the website.

design paper and the specifications at https://spec.torproject.org/ .

For more information about Tor's coding standards and some helpful
development tools, see doc/HACKING in the Tor repository.
Copy link
Contributor

@dgoulet-tor dgoulet-tor Nov 5, 2019

Probably would be nice to have a ref to doc/HACKING so user can click on.

@@ -1,4 +1,5 @@
/**
@dir /feature/rend
@brief feature/rend
@brief feature/rend: version 2 (old) hidden services
Copy link
Contributor

@dgoulet-tor dgoulet-tor Nov 5, 2019

Same goes for this with rend-spec.txt.

@dir /feature/dirauth
@brief feature/dirauth: Directory authority implementation.

This module handles running Tor as a directory authority.
Copy link
Contributor

@dgoulet-tor dgoulet-tor Nov 5, 2019

Maybe ref to dir-spec.txt.

@torproject-pusher torproject-pusher merged commit db40202 into torproject:master Nov 5, 2019
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment