Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/astropy/learn-astropy-librarian
The content crawler that supplies Learn Astropy's web search.
https://github.com/astropy/learn-astropy-librarian
Instead of hardcoding keyword groups into KeywordDB, we know have a
single method for transformi...
- Set up a log handler via the CLI and allow the user to set the log
level
- Switch print stat...
This sorting is done by hand; ultimately it should be handled by a
pre-commit linter.
This sort...
3e386d06a5d71ffc1de4428a542f612898cae3b0 authored over 3 years ago by Jonathan Sick <[email protected]>f637f6a0ed17701be5f03ecf5abffa2f1b69a693 authored over 3 years ago by Jonathan Sick <[email protected]>
The purpose of this class is to load the YAML keyword database and to
provide an API for sorting...
If a keyword has alternate forms (or synonyms) these can be listed by
turning the keyword into a...
3c35c348d87ddc7d38248b02885d3a8468fb50a2 authored over 3 years ago by Jonathan Sick <[email protected]>
The "keywords" record field is now replaced with fields for the specific
types of keywords:
- a...
9080bc54eaa409288d6b699c2eb91c0485258360 authored over 3 years ago by Jonathan Sick <[email protected]>
This is a first shot at making a machine-readable version of the Learn
Astropy keyword vocabular...
Algolia is case-sensitive when sorting keywords alphabetically in its
facet widget. Thus all cap...
37df4f6f5d2d1dd3790bf8c83cf711179b08ac88 authored over 3 years ago by Jonathan Sick <[email protected]>
We'll use pre-commit to help validate data files the we have and will be
adding.
3a26e4db44f26e56548874c01d8f36b766b9e638 authored over 3 years ago by Jonathan Sick <[email protected]>
See example from https://github.com/algolia/algoliasearch-client-python/pull/404
95b1c3f6be35c2cd853ba1e56623963963af9bf7 authored over 3 years ago by Jonathan Sick <[email protected]>Tutorial record formatting improvements
788fba51905095cccb14e055ea39ac1429140702 authored over 3 years ago by Adrian Price-Whelan <[email protected]>
This page has the right structure for "Authors", so its useful for
testing the robustness of tha...
This will improve the default display of search results because h1's
typically have no natural c...
These sections don't need to be specifically indexed because they're
already available as metada...
In tutorials, the summary is assumed to be the first paragraph under the
"Summary" heading.
If certain elements can't be found, ReducedTutorial keeps going. We'll
probably want to issue a ...
This field records when the record was indexed.
b54c54e142e8fbe74818f8fe206a0882a5316007 authored over 3 years ago by Jonathan Sick <[email protected]>
This fixture reduces a bunch of duplication in effort to get the HTML
content from test pages in...
0d4eb7a6a61e724d4c4897c97ee50df2eb07cf55 authored over 3 years ago by Jonathan Sick <[email protected]>
Convert CI to GitHub Actions
eefdc65dbdae1005764de316e418e8f7bcd4baa5 authored about 4 years ago by Adrian Price-Whelan <[email protected]>For compatibility with testing sub-dependencies.
8ebae360af8e126b16c7b7c429548c3afb1467f9 authored about 4 years ago by Jonathan Sick <[email protected]>This drops Travis CI.
We'll want to modernize some of the testing infrastructure for
consistenc...
Algolia upload tutorials
dd163337ae83a3d1046c22df5622a8d2ad7c4f5d authored almost 5 years ago by Jonathan Sick <[email protected]>
The idea of workflows is that they're stateless, asynchronous functions
that process a unit of d...
"Records" are types that are made to be turned directly into Algolia
index records. In this firs...
To use it with asyncio, we also install aiohttp and async_timeout.
6927fe4e298649d59cb821424c92ca4469ed44f6 authored almost 5 years ago by Jonathan Sick <[email protected]>2d952a956ff4fc5b44c8f9b5dc58ae25c8f3e301 authored almost 5 years ago by Jonathan Sick <[email protected]>
Reduce tutorial HTML pages
5a2ebc33e0e1199e17159c55a1bf51ffbe5d71c5 authored almost 5 years ago by Jonathan Sick <[email protected]>
This first reducer will be a proof-of-concept for how reducers can work,
and will reduce tutoria...
08dde34a7598572b10e20afd5bc3f9962aac2720 authored almost 5 years ago by Jonathan Sick <[email protected]>
We'll use lxml for html parsing.
03f62c4ef8360fe79fd64e765e76dc6b07042147 authored almost 5 years ago by Jonathan Sick <[email protected]>b5bcb96c5346b50e780e5660d5678c8973eafbb1 authored almost 5 years ago by Jonathan Sick <[email protected]>
The idea behind iter_sections is to break a Sphinx-generated HTML pages
into hierarchically-sect...
ReducedTutorial now captures the absolute URLs of any images that are
part of the tutorial conte...
This HTML page is from
http://learn.astropy.org/rst-tutorials/color-excess.html and will be
used...
Basic extraction of title (h1), authors, and keywords metadata from a
tutorial page.
This will contain reducers that convert HTML pages into records that can
be uploaded to Algolia.
Create package
717fb3a3e81411f6c06fca12bfb732bed5d5110b authored almost 5 years ago by Jonathan Sick <[email protected]>48e0ca23d4f9882e644845bd24da5ab3335f30a8 authored almost 5 years ago by Jonathan Sick <[email protected]>
787033d14432341d61ac014be78b8eec28e11a9e authored almost 5 years ago by Jonathan Sick <[email protected]>
7b77666f57a2f593b520a743553a0825fcf0418e authored almost 5 years ago by Jonathan Sick <[email protected]>
9eb2296b66226cc28fd5b819ef972a3445c223be authored almost 5 years ago by Jonathan Sick <[email protected]>
Development dependencies are installed as part of the "dev" extra.
c8a3b4056fb91b6e89387f9eac887e02f07bf172 authored almost 5 years ago by Jonathan Sick <[email protected]>b6218b4adbe4764d909c17a2192815f04f249ab6 authored almost 5 years ago by Jonathan Sick <[email protected]>
We're going with a fairly modern setuptools-based package setup here
conforming to PEP 518 with ...
674bee03c796e688af4caaefe2ac8302ecec42cd authored about 5 years ago by Jonathan Sick <[email protected]>
ae8a5efdf90d5fafbbf1c330c9bdac0b2c8e5316 authored about 5 years ago by Jonathan Sick <[email protected]>