Skip to content
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

Setup documentation and corresponding github action #1118

Merged
merged 11 commits into from
Nov 30, 2023

Conversation

wmaxey
Copy link
Member

@wmaxey wmaxey commented Nov 17, 2023

Description

closes #53

This PR allows building our documentation.

Currently CUB has some failures, these can be ignored for the time being. It seems that Doxygen/Sphinx does its best to create something useable even if there's a build failure.

Libcudacxx/Thrust required a bit of fenagling to point to the right base URL.

There is a top level CCCL build that just indexes the libraries... We can make this better later.

You can see the output of the latest commit here: https://wmaxey.github.io/cccl/

Checklist

  • New or existing tests cover these changes.
  • The documentation is up to date with these changes. (IT IS THE DOCUMENTATION)
  • Make old libraries landing pages point to CCCL. Possibly redirecting to correct page if able.

@wmaxey wmaxey requested review from a team as code owners November 17, 2023 03:21
@wmaxey wmaxey requested review from jrhemstad, miscco and elstehle and removed request for a team November 17, 2023 03:21
- name: Build CUB docs
run: |
bash ./docs/build_docs.bash "cccl:docs" /cccl/cub/docs/gen_docs.bash
sudo mkdir -p ./_site/cub
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know why, but I couldn't figure out the permissions for the output directory. We need sudo to allow writing into it.

@wmaxey wmaxey force-pushed the docs/enable_docs_build branch 2 times, most recently from e14b1ad to 022b701 Compare November 17, 2023 06:05
Prepare docker container for local builds

```bash
make_env.bash $TAG
Copy link
Collaborator

@jrhemstad jrhemstad Nov 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: What is $TAG?

suggestion: Document what $TAG is, and if relevant, possible values.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Literally the tag for the image that Thrust/CUB shares for building, but yeah, I'll do that.

Copy link

copy-pr-bot bot commented Nov 30, 2023

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@jrhemstad
Copy link
Collaborator

/ok to test

@jrhemstad jrhemstad merged commit 79f8f71 into NVIDIA:main Nov 30, 2023
516 checks passed
@wmaxey wmaxey deleted the docs/enable_docs_build branch November 30, 2023 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Create unified docs page and host on GitHub pages
2 participants