Commit graph

12222 commits

Author SHA1 Message Date
J0J0 Todos
df2b173029 Replace Sphinx theme requirement in setup.py
and in add to deps in tox.ini.
2023-10-23 13:25:38 +02:00
J0J0 Todos
af6258301c Add beets.css customizing Sphinx theme "pydata"
- Set static path and css file in Sphinx config.
- Codebox style to black/white
- Secondary color to beetroot red
- Inline code color to beetroot green
- Leave primary color (pydata teal), difficult to read with beetroot
  green. Works well with beetroot red actually.
- Leave some notes on colors in beets.css for reference.
2023-10-23 12:09:55 +02:00
J0J0 Todos
c1e2b34aa2 Rename assets/ to _static/ (logo, css, custom Sphinx stuff) 2023-10-23 10:12:19 +02:00
J0J0 Todos
4dc1f251d7 Revert "Set and configure Sphinx theme book"
This reverts commit 71873b66de.

Revert back to using "pydata" theme. Keep this in the history, just in
case we reconsider to using "book".
2023-10-23 09:53:56 +02:00
J0J0 Todos
71873b66de Set and configure Sphinx theme book
- Reduce base font a bit by custom.css
- Collapse nav
- Title "beets" below logo
2023-10-23 09:51:52 +02:00
J0J0 Todos
957a6e445c Set and configure Sphinx theme "pydata"
- Collapse nav
- Add title "beets" next to small logo on top left
2023-10-23 09:51:52 +02:00
J0J0 Todos
ff7d5f7c3a Set and configure Sphinx theme "readthedocs"
- Sticky Nnavigation (default but make sure)
- Top left area white, to fit with beets logo background
- Title "beets"
- Logo only false, we want to see title
- Version true, we want to see which beets version we are looking at
- Issue: The latter two are invisible, would require custom CSS!!!
2023-10-23 09:51:52 +02:00
J0J0 Todos
9e972fe8ae Set and configure Sphinx theme "alabaster"
- Fixed sidebar
- Sidebar collapse (default but make sure)
2023-10-23 09:51:52 +02:00
J0J0 Todos
8260427168 Fix all occurences of Discourse to GH-Discussions
and rephrase a little if required. Often "our forums" was stated. Mostly
I tried to use the wording "discussion board" throughout and (almost) never used
the term "GitHub Discussions"
2023-10-23 09:51:52 +02:00
J0J0 Todos
a6032cdaa9 Add beets logo to docs
and leave html_static_path commented out in conf.py as a reminder. We
might need it if builds via readthedocs require it.
2023-10-23 09:51:36 +02:00
U-LAPTOP-4EP3DB2K\alexa
5fe19c1d1d PR feedback: fix formatting 2023-10-23 09:47:19 +08:00
fhchl
3e1d496ba1
return empty lists instead of None 2023-10-22 20:46:36 +02:00
U-LAPTOP-4EP3DB2K\alexa
3e06ca2af4 Use images attr over cover_image 2023-10-22 21:51:29 +08:00
U-LAPTOP-4EP3DB2K\alexa
e9574bdc21 Add documentation 2023-10-22 20:55:38 +08:00
U-LAPTOP-4EP3DB2K\alexa
6e88da7298 Merge branch 'master' into henges/discogs-fetchart 2023-10-22 20:48:54 +08:00
U-LAPTOP-4EP3DB2K\alexa
c31146e3f5 Discogs <-> fetchart integration 2023-10-22 20:42:45 +08:00
Benedikt
9055abdba2
Merge pull request #4971 from wisp3rwind/better_pathquery_repr
PathQuery: improve __repr__
2023-10-22 12:03:29 +02:00
wisp3rwind
203dda6ac1 PathQuery: improve __repr__
by including case_sensitive
2023-10-22 11:48:26 +02:00
Benedikt
8733ea9bf1
Merge pull request #4970 from wisp3rwind/fix_ci_config
fix formatting_check CI config
2023-10-22 11:14:55 +02:00
wisp3rwind
0467bf867e fix formatting_check CI config 2023-10-22 10:54:08 +02:00
Benedikt
7035be4d57
Merge pull request #4969 from wisp3rwind/fix_noqa
fixup noqa after black auto-formatting
2023-10-22 10:46:03 +02:00
wisp3rwind
1c6113694d fixup noqa after black auto-formatting 2023-10-22 10:22:09 +02:00
Benedikt
a091f31fc2
Merge pull request #4962 from wisp3rwind/log_parsed_query
library: debug log parsed queries (and convert to f-strings)
2023-10-22 10:15:03 +02:00
wisp3rwind
979e71dd2d library: log parsed query
to help with debugging queries that behave unexpectedly
2023-10-22 10:02:41 +02:00
Max Goltzsche
9dd0c6cea9
docs: add link to ytimport plugin to docs 2023-10-22 05:06:00 +02:00
Serene
2115369028
Merge pull request #4654 from Serene-Arc/auto_formatters 2023-10-22 10:12:26 +10:00
Serene-Arc
508471633a Fix moved noqa 2023-10-22 10:00:22 +10:00
Serene-Arc
a6e5201ff3 Apply formatting tools to all files
This is 'the big one', which touches every file so that it all conforms
to the given standard.
2023-10-22 09:53:18 +10:00
Serene-Arc
1196d43285 Update configuration 2023-10-22 09:52:46 +10:00
Serene-Arc
5b1844f737 Add black option 2023-10-22 09:50:33 +10:00
Serene-Arc
8a93ce8cce Add instruction to format with tox 2023-10-22 09:50:33 +10:00
Serene-Arc
cad07f370f Update formatting reference 2023-10-22 09:50:33 +10:00
Serene-Arc
226ea5816c Add pre-commit to docs for devs 2023-10-22 09:50:33 +10:00
Serene-Arc
5177b669b2 Add formatting check workflow 2023-10-22 09:50:33 +10:00
Serene-Arc
e8bf993f6a Update python version 2023-10-22 09:50:33 +10:00
Serene-Arc
15d7d2a7f6 Make flake8 black compatible 2023-10-22 09:50:33 +10:00
Serene-Arc
383fd9a612 Add line length specification 2023-10-22 09:50:33 +10:00
Serene-Arc
e5fe9ca1e5 Add tool configurations 2023-10-22 09:50:33 +10:00
Adrian Sampson
389b68534e
Merge pull request #4964 from arsaboo/spotify_retry
Add retry logic for Spotify
2023-10-21 16:28:20 -04:00
Alok Saboo
f79fd64aeb Simplify loop and update changelog entry 2023-10-21 16:16:51 -04:00
Alok Saboo
b9da57481f Merge remote-tracking branch 'upstream/master' into spotify_retry 2023-10-21 16:16:31 -04:00
Adrian Sampson
59131ea4fc
Merge pull request #4961 from beetbox/fix-ci
Some CI fixes
2023-10-21 15:53:42 -04:00
Alok Saboo
ee42f79b25 Update retry logic 2023-10-21 09:43:01 -04:00
Adrian Sampson
cc0979692b
Better mocking for getfullargspec
Seems much more straightforward this way?
2023-10-20 17:36:21 -04:00
Adrian Sampson
a9e1b607c5
Fix inspect mocking
File this under "I have no idea how this *ever* worked"...
2023-10-20 17:07:35 -04:00
Adrian Sampson
9e86162be0
Remove apparently-wrong assert
This assertion was silently a no-op for years, and it apparently fails.
So since we were not even testing it before, it is at least no worse to
just remove it.
2023-10-20 16:12:06 -04:00
Adrian Sampson
0b382853ed
Style fix 2023-10-20 15:56:37 -04:00
Adrian Sampson
945d917320
Remove Python 3.12-dev CI config
Python 3.12 is now released, so this is what "3.x" uses.
2023-10-20 15:53:16 -04:00
Adrian Sampson
cd3fca3d50
has_calls -> assert_has_calls
AFAICT, `mock.has_calls` *never* existed. It only started emitting a
warning recently. And for some reason I only see this crop up on
Windows? Truly mysterious.
2023-10-20 15:52:12 -04:00
Adrian Sampson
5dee3e6ef4
Ignore docs warnings in all test files
These references were out-of-date as of #4951. Not sure why we were
listing these individually in the first place; it's not like we want to
be strict about docstrings in tests...
2023-10-20 15:28:12 -04:00