1 # HOWTO: Update the API documentation
3 How to use doxygen to update the libical API documentation at <http://libical.github.io/libical>.
7 Make sure you have Doxygen installed; else this will fail.
9 Then checkout the desired branch (master is for unstable).
11 ## Build the documentation
14 # inside the libical top-level
17 cmake -G Ninja .. && ninja docs
20 Look in doxygen.log for warnings and errors. and fix them.
22 Load the ./apidocs/html/index.html into a web browser and review.
24 ## Uploading the new documentation
28 cd ..; rm -rf v3/apidocs; cp -dpr build-apidox/apidocs/html v3/apidocs
29 git add v3/apidocs #make sure to include any newly generated files
31 cd ..; rm -rf v4/apidocs; cp -dpr build-apidox/apidocs/html v4/apidocs
32 git add v4/apidocs #make sure to include any newly generated files
33 git commit -m "update apidox" --no-verify . && git push
37 View the updates on <http://libical.github.io/libical/index.html>
38 (might take a couple minutes to update).
42 Add the generated build-apidox/libical.tag file to the github release