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

How to stop this auto-hyperlinking? #424

Closed
rogermparent opened this issue Dec 12, 2022 · 1 comment · Fixed by iterative/gatsby-theme-iterative#153
Closed

How to stop this auto-hyperlinking? #424

rogermparent opened this issue Dec 12, 2022 · 1 comment · Fixed by iterative/gatsby-theme-iterative#153
Labels
website: eng-doc DEPRECATED JS engine for /doc

Comments

@rogermparent
Copy link
Contributor

rogermparent commented Dec 12, 2022

@iterative/websites any idea how to stop cml runner launch ... --cloud=aws --labels=cml-gpu from auto-hyperlinking to /doc/ref/runner#--cloud?

Originally posted by @casperdcl in #417 (comment)

Seems like our args auto-linker's flag reading functionality includes instances where more than one flag is given. While minor, this doesn't make much sense so we should probably restrict the linking to when only one argument is present.

@jorgeorpinel jorgeorpinel added the website: eng-doc DEPRECATED JS engine for /doc label Dec 13, 2022
@jorgeorpinel jorgeorpinel changed the title @iterative/websites any idea how to stop this from auto-hyperlinking to /doc/ref/runner#--cloud? How to stop this auto-hyperlinking? Dec 13, 2022
@jorgeorpinel
Copy link
Contributor

jorgeorpinel commented Dec 13, 2022

It's based on this file in the theme but the logic (not sure where) is not very strict and tries to find something to link to within the corresponding cmd ref.

I've raised this in the past: iterative/gatsby-theme-iterative#156

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
website: eng-doc DEPRECATED JS engine for /doc
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants