Commit Graph
80 Commits
Author SHA1 Message Date
Šarūnas Nejus 9352a79e41 Replace percent formatting 2025-08-30 22:35:00 +01:00
Šarūnas Nejus ab5acaabb3 Reformat all docs using docstrfmt 2025-08-10 16:25:05 +01:00
Šarūnas Nejus 769dcdc88a Docs: fix linting issues 2025-08-10 16:16:02 +01:00
Damon McDougall 268075063f Use python3 print in plugins.rst 2025-07-29 10:06:30 +02:00
Sebastian Mohr 9584216209 Streamlined auto api referencing for documentation (#5795)
## Description

The current developer documentation feels somewhat cluttered due to
inline auto-generated API references for certain classes. To improve
readability and maintainability, this PR introduces a more streamlined
approach that aligns better with best practices observed in other PyData
ecosystem documentation.

Specifically, this PR:
- Adds a dedicated `api/` folder to the documentation structure.
- Moves all auto-generated references (classes, methods, etc.) to this
folder.
- Enables clean, concise linking to API elements from the narrative
documentation—without interrupting human-written content with large
autogenerated blocks.

This separation makes the documentation easier to navigate and maintain,
while still providing full API reference coverage where needed.

- [x] Documentation
- [x] Changelog
2025-05-22 11:35:40 +02:00
Sebastian Mohr 68acaa6470 Renamed all action occurrences with Action. 2025-05-13 13:01:46 +02:00
Sebastian Mohr 7e61027366 Added suggestions from code review 2025-04-15 11:49:24 +02:00
Sebastian Mohr 753bdd9106 Added typehints for _instance, _classes and for class attributes. 2025-04-08 18:15:08 +02:00
Šarūnas Nejus 89f1ef4d2f Add documentation links 2025-01-30 12:20:11 +00:00
Šarūnas Nejus 916d40f86f Remove outdated namespace package definition and update docs
See https://realpython.com/python-namespace-package.

This setup is backwards-compatible, so plugins using the old
pkgutil-based setup will continue working fine.

This setup has an advantage where external plugins will now be able to
import modules from 'beetsplug' package for typing purposes. Previously,
mypy could not resolve these modules due to presence of `__init__.py`.
2025-01-30 12:20:11 +00:00
valrus 1af9df2b40 add another benefit of item_types 2024-12-29 08:04:50 -08:00
Šarūnas Nejus 0aa361e6c8 Remove support for Python 3.7 in the build and docs 2024-06-05 04:41:02 +01:00
Callum Brown fcb73ad095 Clarify docs for writing plugins
If the beetsplug directory itself is added to the python path
then python does not see the plugin as part of the beetsplug namespace.
2021-12-19 15:41:31 +00:00
David Logie 73c7cc86fe Add an 'album_removed' event.
This works similarly to the existing 'item_removed' event but is called
with an `Album` object.
2021-11-22 20:56:50 +00:00
Dorian c64fc68b16 more detailed documentation 2021-05-11 22:17:38 +02:00
Dorian Soergel c9c2c81df6 Merge branch 'master' into beets_tag_hook 2021-05-11 10:46:15 +02:00
Dorian 64238ca8c6 complete documentation 2021-05-11 10:44:33 +02:00
Ryan Lanny Jenkins 79616b42ed Use simpler approach of asserting that at most one handler of import_task_before_choice returns an action. 2021-03-28 16:53:01 -05:00
Ryan Lanny Jenkins 39b5a7636c Add line in dev docs for new hook. 2021-03-27 12:04:25 -05:00
Dorian 00b08d52d5 style following review 2021-02-06 15:07:10 +01:00
soergeld 79e5b89caf documentation and changelog 2021-01-09 16:54:14 +01:00
Adrian Sampson 9657919968 Merge pull request #3088 from rubdos/reflink
Add reflink option
2020-11-27 13:29:10 -05:00
jtpavlock c9f59ee38d Add broken link checker to integration test (#3703)
* fix broken links
* add link check command to tox
* add link check to the weekly integration test
2020-09-04 15:42:36 -05:00
Ruben De Smet e1def7559e Add reflink docs 2020-07-22 18:01:39 +02:00
FichteFoll aa31fea037 Update a lot of URLs to use HTTPS
*All* URLs were checked manually, but only once per domain!

I mostly concerned myself with URLs in documentation rather than source
code because the latter may or may not have impactful changes, while the
former should be straight forward.

Changes in addition to simply adding an s:

- changed pip and pypi references as their location has changed
- MPoD (iOS app) url redirects to Regelian, so I replaced those
- updated homebrew references

Notable observations:

- beets.io does have HTTPS set up properly (via gh-pages)
- beatport.py uses the old HTTP url for beatport
- as does lyrics.py for lyrics.wikia.com
- https://tomahawk-player.org/ expired long ago, but the http page
  redirects to https regardless
- none of the sourceforge subdomains have https (in 2019!)
2019-06-05 03:11:49 +02:00
Carl Suster a82002e6c1 confit: replace with confuse in core beets 2019-06-01 09:51:56 +10:00
Carl Suster 1289efeeee mediafile: update docs for MediaFile split 2019-05-29 09:35:14 +10:00
Carl Suster d5507dc956 docs: remove reference to BeetsPlugin.listen
This decorator was removed in 4578c4f0e1 and now
`BeetsPlugin.register_listener` should be used instead. Fixes #2885.
2019-04-20 18:13:28 +10:00
Adrian Sampson 22c8289269 Support plugin-provided named queries 2019-02-17 13:49:54 -05:00
Adrian Sampson 323d90db17 Tiny ReST markup tweaks (#2814) 2018-02-22 15:51:15 -05:00
Michal Koutenský 305f9f2dfb Document 'early_import_stages' in the docs 2018-02-21 16:01:26 +01:00
Jacob Gillespie b4efecb709 Add option to hardlink when importing 2017-02-19 15:56:13 -06:00
Adrian Sampson 8937eec50a Refactor built-in stnadard choices 2016-12-28 14:15:40 -05:00
Adrian Sampson 2f6538aee2 Refactor search options to ordinary choices
`PromptChoice`s can now return `Proposal` values, which makes these two
options just "normal" actions that could be provided by plugins.
2016-12-28 14:08:09 -05:00
Diego Moreda b7a2a42d9c Fix docs on plugin prompt choices conflict solving
* Fix docstring and `plugins.rst` regarding how the PromptChoices that
use the same short letter are handled (they are discarded instead of
raising an Exception).
2016-01-28 13:01:44 +01:00
Adrian Sampson 5369a60a2a More details on log levels (fix #1781) 2015-12-30 21:21:30 -08:00
Diego Moreda 6f8a1aa40a Prompt event documentation and mbsubmit fixes
* Fixes for documentation of the prompt event (missing reserved letter, typos).
* Update sample mbsubmit plugin to conform to the new PromptChoice structure.
2015-12-16 19:26:39 +01:00
Diego Moreda c94679e143 Add prompt event documentation
* Add documentation for the before_choose_candidate event (add event to the
event list and add section with example usage).
2015-12-15 20:13:34 +01:00
Adrian Sampson cb6edb46ef Use ` instead of * for plugin event names 2015-11-07 12:12:48 -08:00
Adrian Sampson 4e20ddcef9 Doc refinements for #1499 2015-11-07 12:11:05 -08:00
Manfred Urban 17b38a6be8 Minor layout fixes to documentation 2015-11-05 16:43:28 +01:00
Manfred Urban 5e4c41ffe8 Clarified documentation 2015-11-05 16:37:35 +01:00
Manfred Urban ae0babb17e Less duplicated text in documentation 2015-11-05 16:17:19 +01:00
Manfred Urban 1708939f99 - Added hooks to manipulate fetched album and track info
- Integrated support for plugins
- Added documentation
- Updated changelog
2015-11-05 15:17:58 +01:00
Adrian Sampson 079822b893 Importer: no separate stage for applying metadata
It's cheaper and easier to just apply metadata in the UI thread. The
advantage, then, is that we no longer need to keep track of anything in-memory
to enumerate data that has been seen by the user but not added to the database
yet!

In the next step, I'll remove `seen_idents` altogether.
2015-10-24 13:03:26 -07:00
multikatt b8fdd163b9 Fix capitalization of examples and add a comma
Fixes syntax highlighting
2015-07-05 14:29:37 -04:00
David c3745ce6c2 typo: exapnds -> expands 2015-04-09 12:30:38 -04:00
David 09100c4a55 Update plugins.rst
The class is called CommonOptionsParser, Option*s*.
2015-04-05 22:44:08 -04:00
Bruno Cauet c6f6e3164a Merge branch 'thread-safe-logging2' 2015-04-01 10:45:12 +02:00
Adrian Sampson b477f4a53f Merge pull request #1376 from tomjaspers/config-redacted-fields
Config: new option -r redacts sensitive fields

Conflicts:
	beets/util/confit.py
2015-03-27 22:11:24 -04:00