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

feat: add warning on typedoc for autogenerated files #147

Merged

Conversation

Balastrong
Copy link
Member

We might want to add a comment on autogenerated files to avoid manual edits there.

This little change should add the comment right on top of the page, after the frontmatter but before the actual content is generated. I ran it on Form and this is the output:

---
id: useTransform
title: useTransform
---

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

# Function: useTransform()

... rest of the page

Nothing is shown in the final html page as the comment gets entirely removed.

Copy link

pkg-pr-new bot commented Aug 23, 2024

npm i https://pkg.pr.new/@tanstack/config@147

commit: 90e105d

Copy link

nx-cloud bot commented Aug 23, 2024

View your CI Pipeline Execution ↗ for commit 90e105d.

Command Status Duration Result
nx affected --targets=test:eslint,test:types,te... ✅ Succeeded 18s View ↗

☁️ Nx Cloud last updated this comment at 2025-01-14 03:26:59 UTC

@Balastrong
Copy link
Member Author

@lachlancollins wanna merge? I don't have write access here :D

@lachlancollins lachlancollins merged commit fe06d12 into TanStack:main Jan 14, 2025
5 checks passed
@Balastrong Balastrong deleted the feat/add-autogenerated-warning branch January 14, 2025 14:35
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