Skip to content

Conversation

@nullccxsy
Copy link
Contributor

  • Add MkDocs-based documentation website with Material theme
  • Include basic pages: Home, Configuration, Examples, Contributing, Releases
  • Add API documentation structure for Table, Catalog, Schema, Types, and Table Scan
  • Add build script for local documentation generation
  • Add GitHub Actions workflow for automatic deployment to GitHub Pages
  • Configure custom domain cpp.iceberg.apache.org

Note: This is a demo version with placeholder content that needs further refinement.

@nullccxsy
Copy link
Contributor Author

截屏2025-09-19 18 00 42

@nullccxsy
Copy link
Contributor Author

截屏2025-09-23 18 08 17

@nullccxsy
Copy link
Contributor Author

截屏2025-09-23 18 07 35

@nullccxsy
Copy link
Contributor Author

截屏2025-09-23 18 08 33

@nullccxsy
Copy link
Contributor Author

@Fokko, could you please take a look at this?

Copy link
Contributor

@Fokko Fokko left a comment

Choose a reason for hiding this comment

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

Left some small comments, but I think this looks great for a first version! Very comprehensive, thanks @nullccxsy for working on this 🙌

@wgtmac
Copy link
Member

wgtmac commented Sep 24, 2025

We still see the CI error: https://github.com/apache/iceberg-cpp/actions/runs/17964469116/job/51094065180?pr=237 @Fokko Do you have any idea?

@Fokko
Copy link
Contributor

Fokko commented Sep 24, 2025

@wgtmac I'm not sure, maybe the action is not allowed by the ASF. I would take a look at how we do it at PyIceberg: https://github.com/apache/iceberg-python/blob/main/.github/workflows/python-release-docs.yml

Here we just copy the output to the pages branch and set the CNAME

We aim for high test coverage. Run tests with coverage:

```bash
cmake -S . -B build -DICEBERG_BUILD_COVERAGE=ON
Copy link
Member

Choose a reason for hiding this comment

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

We don't have this yet. Perhaps an AI illusion?

@wgtmac
Copy link
Member

wgtmac commented Sep 24, 2025

remote: {"auth_status":"access_denied_to_user","body":"Permission to apache/iceberg-cpp.git denied to github-actions[bot]."}
fatal: unable to access 'https://github.com/apache/iceberg-cpp/': The requested URL returned error: 403

@nullccxsy nullccxsy force-pushed the website branch 2 times, most recently from f0cc014 to 1428b31 Compare October 14, 2025 05:09
@nullccxsy
Copy link
Contributor Author

@wgtmac Could you look at this? It seems that there is no issue.

@wgtmac
Copy link
Member

wgtmac commented Oct 14, 2025

@nullccxsy Thanks for the update! I'll take a look shortly.

@wgtmac
Copy link
Member

wgtmac commented Oct 14, 2025

It is strange that deploying docs still hit error below but the workflow does not fail.

remote: Permission to apache/iceberg-cpp.git denied to github-actions[bot].
fatal: unable to access 'https://github.com/apache/iceberg-cpp/': The requested URL returned error: 403

nullccxsy added 10 commits October 18, 2025 22:29
- Replace Doxygen with MkDocs and Material theme
- Add documentation pages (home, installation, quickstart, config, examples)
- Set up GitHub Actions for automatic deployment
- Note: This is a demo website with placeholder content
- Add MkDocs-based documentation website with Material theme
- Include basic pages: Home, Configuration, Examples, Contributing, Releases
- Add API documentation structure for Table, Catalog, Schema, Types, and Table Scan
- Add build script for local documentation generation
- Add GitHub Actions workflow for automatic deployment to GitHub Pages
- Configure custom domain cpp.iceberg.apache.org

Note: This is a demo version with placeholder content that needs further refinement.
- Added Doxygen configuration file for API documentation generation.
- Introduced a build script for MkDocs documentation.
- Removed outdated documentation files and replaced them with a structured MkDocs setup.
@nullccxsy
Copy link
Contributor Author

Those commands havn't been verified. I will verify this on my Ubuntu and submit a pull request.

Copy link
Collaborator

@zhjwpku zhjwpku left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for working on this.

@nullccxsy nullccxsy requested a review from wgtmac October 21, 2025 06:09
@wgtmac
Copy link
Member

wgtmac commented Oct 21, 2025

Let me merge this to see what's going on. Thanks @nullccxsy for working on it and @Fokko @zhjwpku for the review!

@wgtmac wgtmac merged commit 62ed51a into apache:main Oct 21, 2025
10 checks passed
@zhjwpku
Copy link
Collaborator

zhjwpku commented Oct 21, 2025

I got This site can’t be reached for [1], any idea?

[1] https://cpp.iceberg.apache.org/

@nullccxsy
Copy link
Contributor Author

Is there any error?

@zhjwpku
Copy link
Collaborator

zhjwpku commented Oct 21, 2025

Is there any error?

This site can’t be reached
Check if there is a typo in cpp.iceberg.apache.org.
DNS_PROBE_FINISHED_NXDOMAIN

The above is from my browser, no other info.

@nullccxsy
Copy link
Contributor Author

This may need @wgtmac to check if there were any errors during the merge.

@wgtmac
Copy link
Member

wgtmac commented Oct 21, 2025

We need a successful push to main branch with changes in src or docs folder to trigger it. @zhjwpku @nullccxsy

@nullccxsy
Copy link
Contributor Author

We need a successful push to main branch with changes in src or docs folder to trigger it. @zhjwpku @nullccxsy

So it will be triggered the next time you merge a commit due to the missing of '|'.

@wgtmac
Copy link
Member

wgtmac commented Oct 21, 2025

It didn't because I have only changed the .github folder.

@zhjwpku
Copy link
Collaborator

zhjwpku commented Oct 21, 2025

It didn't because I have only changed the .github folder.

Sounds good, let's wait for the next commit ;)

@zhjwpku
Copy link
Collaborator

zhjwpku commented Oct 22, 2025

The website still appears to be unavailable. I checked the gh-pages branch, and opening index.html locally works fine. The CNAME file also looks correct. I suspect there might be some additional configuration needed in the repository's pages settings.

Could you take a look? @wgtmac @Fokko

@wgtmac
Copy link
Member

wgtmac commented Oct 22, 2025

Yes, that's weird. I have checked https://github.com/apache/iceberg-cpp/actions/runs/18689491146/job/53291125293 and it looks good.

@kevinjqliu Do you have any insight on this?

@kevinjqliu
Copy link
Contributor

I think apache infra needs to add a CNAME for this to work. Created https://issues.apache.org/jira/browse/INFRA-27352

@wgtmac
Copy link
Member

wgtmac commented Oct 23, 2025

I've tried to search some evidence from the ASF website but may have overlooked this. Thanks @kevinjqliu for the help!

@kevinjqliu kevinjqliu mentioned this pull request Oct 28, 2025
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants