Comments (11)
I tried a few things, and it seems that mkdocstrings doesn't do a good job of pulling out the docstrings from the rust source. So I guess that means pdoc is better.
from tantivy-py.
I didn't know mkdocstrings, but it seems to parse the Python code with Griffle parser (https://mkdocstrings.github.io/griffe/docstrings/) and try to directly extract the docstring from the source instead of pulling it from __doc__
. So unfortunatelly this wouldn't be a help for our purposes.
from tantivy-py.
The current workflow is I log into readthedocs on my own personal account and click "sync". I'm not happy with this, but I don't currently have enough permissions on this github repo to get the webhook working. Once the webhook is setup, docs deployment will be automatic.
from tantivy-py.
@cjrh do you know which permission you need?
from tantivy-py.
@fmassot I think either I need "write" access, or I can add you or another admin to the readthedocs site and you can generate the integration there. Long term that is probably best anyway, so that I am not the only one with access to the readthedocs site.
- Documentation on readthedocs about the integration for github->readthedocs: https://docs.readthedocs.io/en/stable/guides/setup/git-repo-automatic.html
- Project page for tantivy-py on readthedocs: https://readthedocs.org/projects/tantivy-py/
This is the page where the integration can be performed:
When I click "resync" it fails:
If you create a login on readthedocs (make sure to use your github OAuth login), I can add your account to the tantivy-py project on readthedocs, and then you will be able to successfully click that Resync webhook
button, which should work because it'll use the permissions on your github OAuth token. Then I won't need any permissions change on tantivy-py.
Just let me know your login name on readthedocs and I'll add it to the project.
from tantivy-py.
@mocobeta This example at mkdocs shows integration of pdoc into a mkdocs build: https://github.com/mitmproxy/pdoc/tree/main/examples/mkdocs/
There is a comment that says:
mkdocstrings is a great alternative to pdoc if you are in the mkdocs ecosystem anyways.
Do you have personal experience that supports sticking with pdoc over mkdocstrings?
from tantivy-py.
Related Issues (20)
- Support lenient parser in bindings HOT 2
- Slow writer performance with the current default heap size HOT 3
- How to use slog and prefix operator in tantivy-py HOT 7
- Support Python stub files (.pyi) HOT 2
- Support phrase query as a direct API HOT 1
- Question: how can you escape double quotes in search queries? HOT 6
- Document.from_dict doesn't has type info. HOT 1
- Outdated PyPI package HOT 3
- Adding boost/weight to fields HOT 4
- Adding document based scoring
- Date Range query produces "ValueError: Syntax Error". HOT 6
- How to close a index? HOT 1
- Can not find merge policy. HOT 2
- tantivy-py throws syntax error if query has `:` HOT 3
- add_bytes HOT 2
- Does someone want to maintain tantivy-py? HOT 22
- Consider building abi3 wheels HOT 6
- Bump to PyO3 0.19 HOT 2
- Support pickling of certain types HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tantivy-py.