Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Commit

Permalink
Move everything doxygen-related to a new subdirectory.
Browse files Browse the repository at this point in the history
Should help keep reference docs more clearly separated from technical
docs.

Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
  • Loading branch information
pattivacek committed Aug 21, 2019
1 parent 23d2701 commit 946e4e7
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ if(BUILD_PARTIAL)
endif()
add_subdirectory("tests" EXCLUDE_FROM_ALL)

add_subdirectory("docs")
add_subdirectory("docs/doxygen")

# Check if some source files were not added sent to `aktualizr_source_file_checks`
#
Expand Down
4 changes: 2 additions & 2 deletions docs/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ To update the doxygen documentation for master on github, you will need to do so
1. In an aktualizr repo, run `make doxygen` (or `make docs`) in the build directory.
1. Clone a second aktualizr repo and run `git checkout gh-pages`.
1. In the second repo, run `git rm search/* *.css *.html *.js *.png *.map *.md5 *.png *.svg`.
1. Copy the contents of `<build_dir>/docs/html` into the root of the second repo. (Something like `cp -a <build_dir>/docs/html/* <second_repo>`.)
1. Copy the contents of `<build_dir>/docs/doxygen/html` into the root of the second repo. (Something like `cp -a <build_dir>/docs/doxygen/html/* <second_repo>`.)
1. In the second repo, run `git add .`, `git commit -as`, and `git push`.
1. Wait a minute or two for github to refresh and render the files.

Expand All @@ -56,6 +56,6 @@ make doxygen
+
1. Clone a second aktualizr repo and run `git checkout gh-pages`.
1. In the second repo, make a directory for the tag or commit you wish to add, i.e. `mkdir 2018.63`.
1. Copy the contents of `<build_dir>/docs/html` into the directory you just created. (Something like `cp -a <build_dir>/docs/html/* <second_repo>/2018.63`.)
1. Copy the contents of `<build_dir>/docs/doxygen/html` into the directory you just created. (Something like `cp -a <build_dir>/docs/doxygen/html/* <second_repo>/2018.63`.)
1. In the second repo, run `git add 2018.63`, `git commit -as`, and `git push`.
1. Wait a minute or two for github to refresh and render the files.
File renamed without changes.
3 changes: 2 additions & 1 deletion docs/Doxyfile.in → docs/doxygen/Doxyfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,7 @@ WARN_LOGFILE =
# Note: If this tag is empty the current directory is searched.

INPUT = @CMAKE_SOURCE_DIR@/docs \
@CMAKE_SOURCE_DIR@/docs/doxygen \
@CMAKE_SOURCE_DIR@/tests \
@CMAKE_SOURCE_DIR@/src/aktualizr_get \
@CMAKE_SOURCE_DIR@/src/aktualizr_info \
Expand Down Expand Up @@ -1004,7 +1005,7 @@ FILTER_SOURCE_PATTERNS =
# (index.html). This can be useful if you have a project on for instance GitHub
# and want to reuse the introduction page also for the doxygen output.

USE_MDFILE_AS_MAINPAGE = @CMAKE_SOURCE_DIR@/docs/INDEX.md
USE_MDFILE_AS_MAINPAGE = @CMAKE_SOURCE_DIR@/docs/doxygen/INDEX.md

#---------------------------------------------------------------------------
# Configuration options related to source browsing
Expand Down
File renamed without changes.

0 comments on commit 946e4e7

Please sign in to comment.