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

Fix C++ apigen page naming for variable template specializations #396

Merged
merged 1 commit into from
Nov 1, 2024

Conversation

jbms
Copy link
Owner

@jbms jbms commented Oct 31, 2024

Previously, the page names for variable template specializations incorrectly included the template arguments within angle brackets, unlike class template specializations where such arguments were stripped.

With this commit, template arguments are stripped and the entities are distinguished based on the user-specified id.

@jbms jbms requested a review from 2bndy5 October 31, 2024 23:20
Previously, the page names for variable template specializations
incorrectly included the template arguments within angle brackets,
unlike class template specializations where such arguments were
stripped.

With this commit, template arguments are stripped and the entities are
distinguished based on the user-specified `id`.
@jbms jbms force-pushed the fix-cpp-apigen-var-template-specializations branch from 8a74a3f to 0ec412c Compare October 31, 2024 23:26
Copy link

codecov bot commented Oct 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.12%. Comparing base (fcc5f76) to head (0ec412c).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #396      +/-   ##
==========================================
+ Coverage   81.96%   82.12%   +0.16%     
==========================================
  Files          68       68              
  Lines        8678     8678              
==========================================
+ Hits         7113     7127      +14     
+ Misses       1565     1551      -14     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jbms jbms merged commit d32b12a into main Nov 1, 2024
26 checks passed
@jbms jbms deleted the fix-cpp-apigen-var-template-specializations branch November 1, 2024 04:29
copybara-service bot pushed a commit to google/tensorstore that referenced this pull request Nov 1, 2024
- Leave HasBoxDomain specializations undocumented to workaround
  jbms/sphinx-immaterial#396.  These
  specializations don't need separate documentation anyway.

- Wrap built documentation in a zip file for storage as a github actions
  artifact to avoid case insensitivity issues.  While sphinx-immaterial
  has an option for generating page names that are compatible with
  case-insensitive filesystems, the case-sensitive naming avoids an ugly
  hash in the name and is preferable for documentation URLs.

- Disable building wheels for Python 3.13 until the Python dependencies
  are updated to support it.

PiperOrigin-RevId: 692221563
Change-Id: I374d30b6799908e419e17c1c48c5de16eda00505
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.

2 participants