forked from NVIDIA/cccl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
55 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
FROM ubuntu:22.04 | ||
|
||
SHELL [ "/usr/bin/env", "/bin/bash", "-c" ] | ||
|
||
ENV APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 | ||
|
||
RUN apt-get -y -qq update; \ | ||
apt-get -y -qq upgrade; \ | ||
apt-get -y -qq install doxygen unzip wget | ||
|
||
RUN mkdir -p /opt/doxybook2; \ | ||
cd /opt/doxybook2; \ | ||
wget -q -O doxybook2.zip "https://github.com/matusnovak/doxybook2/releases/download/v1.5.0/doxybook2-linux-amd64-v1.5.0.zip"; \ | ||
unzip -xf doxybook2.zip | ||
|
||
ENV PATH "$PATH:/opt/doxybook2/bin" | ||
|
||
SHELL [ "/bin/bash" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/usr/bin/env sh | ||
|
||
## This script will produce a 'build_docs' folder that contains a jekyll site containing all the Thrust docs | ||
## This is used in CI to produce a site for Thrust under CCCL | ||
|
||
set -ex | ||
|
||
SCRIPT_PATH=$(cd $(dirname ${0}); pwd -P) | ||
cd $SCRIPT_PATH | ||
|
||
mkdir -p build | ||
( | ||
cd build | ||
cp ../github_pages/Gemfile . | ||
docker build -f ../Dockerfile -t thrust:docs . | ||
) | ||
|
||
cd $SCRIPT_PATH/.. | ||
( | ||
docker run -it --rm \ | ||
--mount type=bind,src=$(pwd),dst=/cccl \ | ||
thrust:docs \ | ||
bash -c "/cccl/docs/generate_markdown.bash" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters