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

wolfHSM: only document client and server headers #138

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

bigbrett
Copy link
Contributor

@bigbrett bigbrett commented Jun 7, 2024

Only documents public client+server API functions. Tested locally and seems to render fine.

wolfHSM/Doxyfile Outdated
*.qsf \
*.ice
# NOTE: Only document public client and server headers (for now)
FILE_PATTERNS = wh_client.h wh_server.h
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be better / easier to only adjust this in the wolfHSM Makefile.
diff.patch

@bigbrett bigbrett force-pushed the wolfhsm-client-server-fns-only branch from 9d8d3a7 to 6cbb858 Compare June 7, 2024 15:57
@@ -865,7 +865,7 @@ WARN_LOGFILE =
# spaces. See also FILE_PATTERNS and EXTENSION_MAPPING
# Note: If this tag is empty the current directory is searched.

INPUT = README.md wolfhsm
INPUT = README.md wolfhsm/wh_client.h wolfhsm/wh_server.h
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In wolfHSM/Makefile there is a typo.

- $(Q)cat src/appendix01.md build/pdf/wh__*8h*.md > build/html/appendix01.md
+ $(Q)cat src/appendix01.md build/html/wh__*8h*.md > build/html/appendix01.md

Did that not work for you?

Copy link
Contributor Author

@bigbrett bigbrett Jun 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works fine for me as-is. in fact, weirdly it breaks the website when I apply that patch. The right sidebar with the function links disappears. Does it break for you as-is (with build/pdf)?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm sure it would. The perl -i calls on the PDF are fancier, so it ends up being fine. Let's keep it as-is for now.

@dgarske dgarske merged commit a64bdf5 into wolfSSL:master Jun 7, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants