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

INTPYTHON-482 Add API docs #62

Merged
merged 9 commits into from
Jan 17, 2025
Merged

Conversation

blink1073
Copy link
Collaborator

@blink1073 blink1073 commented Jan 17, 2025

I made the following tweaks to create_api_rst.py:

  • Used api_docs.rst as the root doc to avoid overshadowing langchain-mongodb/index.py
  • Fixed handling of the namespace package for langgraph
  • Handle __all__ if present
  • Removed some custom title handling for other partner packages

I made the following tweaks to conf.py:

  • Removed custom examples directive
  • Updated metadata for this repo

@blink1073
Copy link
Collaborator Author

Langgraph failure is unrelated: https://jira.mongodb.org/browse/INTPYTHON-488

Copy link
Collaborator

@caseyclements caseyclements left a comment

Choose a reason for hiding this comment

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

These docs look great.

When I build them, langgraph.checkpoint.mongodb.MongoDBSaver is not showing up. AsyncMongoDBSaver does, but not the main one.

@blink1073
Copy link
Collaborator Author

When I build them, langgraph.checkpoint.mongodb.MongoDBSaver is not showing up. AsyncMongoDBSaver does, but not the main one.

I had to do some restructuring of files to get it to show up. __init__ files are ignored.

Copy link
Collaborator

@caseyclements caseyclements left a comment

Choose a reason for hiding this comment

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

lgtm

@blink1073 blink1073 merged commit c7cbeec into langchain-ai:main Jan 17, 2025
12 of 15 checks passed
@blink1073 blink1073 deleted the INTPYTHON-482 branch January 17, 2025 19:58
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