-
Notifications
You must be signed in to change notification settings - Fork 5
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
cmake: Add docs
build target
#165
Conversation
doc/Doxyfile.in
Outdated
@@ -58,7 +58,7 @@ PROJECT_LOGO = doc/bitcoin_logo_doxygen.png | |||
# entered, it will be relative to the location where doxygen was started. If | |||
# left blank the current directory will be used. | |||
|
|||
OUTPUT_DIRECTORY = doc/doxygen | |||
OUTPUT_DIRECTORY = @PROJECT_BINARY_DIR@/doxygen |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(feel free to ignore)
I find it more intuitive to put the generated documentation in the doc
subdirectory:
OUTPUT_DIRECTORY = @PROJECT_BINARY_DIR@/doxygen | |
OUTPUT_DIRECTORY = @PROJECT_BINARY_DIR@/doc/doxygen |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found a shorter path more convenient.
Not sure which approach is the optimal, though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Me neither. I guess that there are the following options:
-
OUTPUT_DIRECTORY = @PROJECT_BINARY_DIR@/doxygen
(as in this PR currently, differs frommaster
). Would generate the docs inBUILD/doxygen/html/index.html
but put some supplementary files inBUILD/doc/
. -
OUTPUT_DIRECTORY = @PROJECT_BINARY_DIR@/doc/doxygen
(as inmaster
currently). Everything doc-related goes intoBUILD/doc/
with the generated docs atBUILD/doc/doxygen/html/index.html
. -
OUTPUT_DIRECTORY = @PROJECT_BINARY_DIR@/doc
. Everything doc-related goes intoBUILD/doc/
with the generated docs atBUILD/doc/html/index.html
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2. `OUTPUT_DIRECTORY = @PROJECT_BINARY_DIR@/doc/doxygen` (as in `master` currently). Everything doc-related goes into `BUILD/doc/` with the generated docs at `BUILD/doc/doxygen/html/index.html`.
The option 2 has been chosen during the recent call.
caebe45
to
00c4edd
Compare
Addressed @vasild's comments. |
00c4edd
to
7cb55a4
Compare
Rebased. |
7cb55a4
to
d88e03c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK d88e03c
Tested and it works as expected. Thanks!
Same as
make docs
in the master branch.