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

doc: Add mktestdocs, and tutorial for snippets. Fixes #219 #223

Merged
merged 1 commit into from
Mar 20, 2024

Conversation

cjrh
Copy link
Collaborator

@cjrh cjrh commented Mar 19, 2024

Quite a nice feature. The mktestdocs package automates running all the code in the mkdocs documentation. This means we can keep our docs having actually working code. I found a couple bugs while setting this up.

I've also added a short tutorial for snippets, using the existing test as an example.

@Sidhant29
Copy link
Collaborator

This looks good! So essentially the docs code becomes part of the tests so we can see if future releases change the code somehow right ?

@cjrh cjrh merged commit a2549a9 into quickwit-oss:master Mar 20, 2024
10 checks passed
@cjrh cjrh deleted the doc-howto-snippet-generator branch May 3, 2024 20:26
cjrh pushed a commit to cjrh/tantivy-py that referenced this pull request Sep 3, 2024
…d8e74c90db1873d07 to 21dc36fb71dd22e3317045c0c31a3f4249868b17 (quickwit-oss#223)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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