Skip to content

Automatically generate readthedocs list of all plugins and their info - #72

Closed
kvfairchild wants to merge 536 commits into
mainfrom
kvf/sphinx
Closed

kvfairchild wants to merge 536 commits into
mainfrom
kvf/sphinx

Conversation

@kvfairchild

@kvfairchild kvfairchild commented Sep 23, 2022 •

Copy link
Copy Markdown
Contributor

Populates readthedocs documentation (plugins.rst) with information about all available plugins and a project bibliography. Relies on information, e.g. BiBTeX, provided in plugin __init__.py.

Adds the following dependencies:

Plugin info listing
image

Bibliography
image

benlipkin and others added 30 commits April 4, 2022 12:13
deleted:    langbrainscore/benchmark_packaging/.gitkeep
deleted:    langbrainscore/benchmark_packaging/package_benchmarks.py
@kvfairchild kvfairchild changed the title Automatically generate readthedocs plugins.rst with a list of all plugins and info Automatically generate readthedocs plugins.rst with a list of all plugins and their info Sep 25, 2022
@kvfairchild kvfairchild changed the title Automatically generate readthedocs plugins.rst with a list of all plugins and their info Automatically generate readthedocs list of all plugins and their info Sep 25, 2022

@mschrimpf mschrimpf left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Very cool. The type (data, benchmarks etc) and instance (Pereira2018.language, wikitext-2/text etc) headings look fairly similar on the page, but that's a sphinx issue.

Is there a way to also get the class documentation in there? E.g. the Futrell2018 benchmark has documentation. The _Pereira2018 base class also has documentation, I think there's a way to tell the calling functions to copy the documentation

Comment thread docs/source/index.rst
Comment on lines 26 to +27
modules/model_tutorial
modules/benchmark_tutorial
modules/api_reference
modules/plugins

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
modules/api_reference
modules/plugins
modules/plugins
modules/api_reference

@mschrimpf mschrimpf Sep 27, 2022 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

API reference at the bottom imo

@@ -0,0 +1,106 @@

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

so will this file be auto-generated by the readthedocs build? I.e. won't be part of the repository once that happens?

mschrimpf and others added 4 commits September 28, 2022 05:06
* relax python version

* try exact python 3.7 version for colab

* add example scripts for scoring (separate layers), species comparisons

* fix human-human behavioral comparison

* fix model behavioral/neural comparisons

* undo python specification changes

* add human-human neural comparison

* progress bar over huggingface text digestion

* distilgpt2 score on Futrell, and glove on Pereira2018

* remove whitespace

* explain `[1:]`

* show examples in docs

* try with examples.md in source

* remove punctuation for embedding models

* fix colon removal
…ng (#73)

* option to run single test

* typo

* cleanup

* documentation

Co-authored-by: Katherine Fairchild <[email protected]>
* relax python version to `>=3.7`

* test with python 3.7 through 3.9 (not testing python 3.10, travis doesn't have it yet)

* `pip list` to print versions

* use exact setuptools version in python 3.7

* fix travis.yml syntax
@mschrimpf

Copy link
Copy Markdown
Member

@kvfairchild what's the status of this PR?

@kvfairchild

Copy link
Copy Markdown
Contributor Author

@kvfairchild what's the status of this PR?

Deprioritized behind plugin environments.

@mschrimpf

mschrimpf commented Oct 26, 2022 •

Copy link
Copy Markdown
Member

Sorry, this PR was closed after combining commit history. @kvfairchild can you please open a new PR? I'm afraid the simplest solution is to 1. checkout the branch locally, 2. copy all files into a separate location, 3. checkout main, 4. update main, 5. create a new branch, 6. copy all files back again overwriting the files in main, 7. push and open a PR.

@mschrimpf
mschrimpf deleted the kvf/sphinx branch November 8, 2022 23:34
@kvfairchild
kvfairchild restored the kvf/sphinx branch November 2, 2023 15:09
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.

display available {data,metrics,benchmarks,models} in documentation

6 participants