Skip to content

Commit

Permalink
make rebuild_api_docs more reliable
Browse files Browse the repository at this point in the history
Summary: Automatically install doxygen if it's not installed. Otherwise we will get an error that doxygen doesn't exist.

Reviewed By: thedavekwon

Differential Revision: D62779384

fbshipit-source-id: db23deb2aa84717ec5ecd18a0cdbaf3da71c8d2f
  • Loading branch information
TJ Yin authored and facebook-github-bot committed Sep 17, 2024
1 parent 1c962d9 commit be92b83
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions third-party/thrift/src/thrift/website/rebuild_api_docs
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/bin/bash

cd "$(hg root)/fbcode/thrift/website" || exit

# Install doxygen
feature install fb_doxygen

# Copy js components
cp -r ../../../fbcode/staticdocs/websites/fbcref/src/components src

Expand Down

0 comments on commit be92b83

Please sign in to comment.