Skip to content

feat: Added api_docs and sitemap and removed version dropdown - #611

Open
BrigittaK307 wants to merge 14 commits into
mainfrom
I753325-614
Open

feat: Added api_docs and sitemap and removed version dropdown#611
BrigittaK307 wants to merge 14 commits into
mainfrom
I753325-614

Conversation

@BrigittaK307

Copy link
Copy Markdown
Contributor

What Has Changed?

Explain what you are changing and why, if it isn't obvious from the diff.

@BrigittaK307
BrigittaK307 requested a review from marikaner July 28, 2026 08:47
Comment thread docs-python/gen/docs/Makefile Outdated

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.

[req] I think this doesn't belong here.

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.

[req] Also, all of the python and other project files from the original repo don't belong here.

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.

[req] This looks like a generated file, that also doesn't belong here (applies to everything under _sources.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

For now the python sidebar point to these files, because this was the easiest way for now to adapt to the current repo setup. So Docusaurus doesn't process these files, these are the Sphinx-generated HTML files.

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.

[req] I believe everything under docs-python/gen doesn't belong here.

Comment thread docusaurus.config.js
filename: 'sitemap-python.xml',
changefreq: 'weekly',
priority: 0.5,
ignorePatterns: ['**/docs/java/**', '**/docs/js/**']

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.

[req] Please, also adjust the sitemaps of java and js to ignore python.

Comment thread sidebarsDocsPython.js Outdated
{
type: 'link',
label: 'API Reference',
href: 'pathname:///api-python/_api_doc/gen_ai_hub.html'

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.

[req] I can see that under api-python there is an index.html. I think we should use that.

@marikaner marikaner 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.

I think the visual issues are fixed, right?

Comment thread docs-python/examples/data/cv.txt Outdated

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.

[q] Is this not referenced in the samples?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This was deleted, because it was only used in the Jupyter notebooks and we render only the .mdx files, not the notebooks.

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.

[pp] base and core are in separate directories, I would prefer it if this was also the case for gen.

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.

[q] This looks AI generated? Why do we need it?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Forgot to delete it. This was the way I wanted to handle the Visual issues before Sphinx generation was configured for all the packages. Will delete it.

@BrigittaK307

Copy link
Copy Markdown
Contributor Author

I think the visual issues are fixed, right?

Yes, because in the code repo I have configured the Sphinx api docs generation for the base and core packages as well (before it was only for gen). I will push those changes today.

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