sunchao commented on code in PR #7112:
URL: https://github.com/apache/datafusion-comet/pull/7112#discussion_r4433043806
##########
docs/generate-versions.py:
##########
@@ -131,12 +153,19 @@ def publish_released_version(version: str):
def generate_docs(snapshot_version: str, latest_released_version: str,
previous_versions: list[str]):
- # Strip release-only content; keep snapshot-only content for the latest
(snapshot) docs
- strip_conditional_blocks("temp/user-guide/latest", "snapshot")
+ # user-guide/latest is the release alias that alias_latest replaces after
the Sphinx build, so
+ # a page sourced from there would be built and then silently deleted.
+ if (Path(__file__).parent / "source/user-guide/latest").exists():
Review Comment:
The existing `.ai/skills/wire-datafusion-function/SKILL.md` still tells
contributors to edit `docs/source/user-guide/latest/`. Following those steps
now creates exactly the source directory this guard rejects. Could the
instructions for adding and wiring expressions point at `user-guide/dev/` in
the same change?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]