Skip to content

Add version suffix option#278

Merged
mishig25 merged 1 commit into
huggingface:mainfrom
fxmarty:add-version-suffix-option
Sep 19, 2022
Merged

Add version suffix option#278
mishig25 merged 1 commit into
huggingface:mainfrom
fxmarty:add-version-suffix-option

Conversation

@fxmarty

@fxmarty fxmarty commented Aug 23, 2022

Copy link
Copy Markdown
Contributor

Add an option to set the suffix (e.g. by default src/) after the version tag.

This will help fixing the broken documentation links in Optimum documentation as the structure is not src/optimum/ but directly optimum/ (see e.g. the broken links in https://huggingface.co/docs/optimum/main/en/onnxruntime/quantization#optimum.onnxruntime.ORTQuantizer ). Passing doc-builder build --version_tag_suffix "" will fix the issue.

An other approach could be to use an environment variable, let me know if you prefer it this way.

@mishig25 mishig25 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm!

@mishig25 mishig25 merged commit d78d8f4 into huggingface:main Sep 19, 2022
@mishig25

Copy link
Copy Markdown
Contributor

@fxmarty @lewtun please feel free to update the optimum doc-build scripts with --version_tag_suffix

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