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

docs: add API documentation and restructure sidebar #4772

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

mendonk
Copy link
Collaborator

@mendonk mendonk commented Nov 21, 2024

This pull request switches to the Docusaurus OpenAPI preset and updates the sidebar configuration. The most important changes include modifying the Docusaurus configuration to use docusaurus-preset-openapi, adding new dependencies to package.json, and restructuring the sidebar configuration.

Changes to Docusaurus configuration:

  • docs/docusaurus.config.js: Replaced @docusaurus/preset-classic with docusaurus-preset-openapi and added configuration for OpenAPI file and API docs route.

Dependency updates:

  • docs/package.json: Added docusaurus-plugin-openapi-docs, docusaurus-preset-openapi, and docusaurus-theme-openapi-docs as new dependencies.

Sidebar restructuring:

  • docs/sidebars.js: Replaced the autogenerated sidebar with a manually defined structure, organizing documentation into categories such as Getting Started, Components, Agents, Configuration, Guides, Integrations, Starter Projects, Workspace, Contributing, Deployment, and API Reference.

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Nov 21, 2024
@dosubot dosubot bot added the documentation Improvements or additions to documentation label Nov 21, 2024
@mendonk mendonk changed the title Docs: add API documentation and restructure sidebar docs: add API documentation and restructure sidebar Nov 21, 2024
@github-actions github-actions bot added documentation Improvements or additions to documentation and removed documentation Improvements or additions to documentation labels Nov 21, 2024
@mendonk mendonk self-assigned this Nov 21, 2024
Comment on lines +3 to +6
'Getting-Started/welcome-to-langflow',
{
type: 'category',
label: 'Getting Started',
Copy link
Collaborator

Choose a reason for hiding this comment

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

Per the Google style guide, avoid gerunds in titles. Use "Get started" instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants