Skip to content

Commit

Permalink
Fix broken readthedocs links
Browse files Browse the repository at this point in the history
I noticed the "data dumps" link on the homepage was broken in the same way as
#2594.

Then I searched for other instances of "en/latest/dev" and found even more
broken links. I guess something changed with your readthedocs setup at some
point (?).
  • Loading branch information
mwiencek authored and amCap1712 committed Dec 27, 2023
1 parent f8f2c69 commit a1479a3
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
# further. For a list of options available for each theme, see the
# documentation.
html_theme_options = {
'canonical_url': "https://listenbrainz.readthedocs.io/en/production/",
'canonical_url': "https://listenbrainz.readthedocs.io/en/latest/",
'collapse_navigation': False,
'display_version': False,
'navigation_depth': 3,
Expand Down
2 changes: 1 addition & 1 deletion frontend/js/src/metadata-viewer/MetadataViewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ export default function MetadataViewer(props: MetadataViewerProps) {
<br />
We work hard to make this data available to you as soon as we
receive it, but until your music service sends us a{" "}
<a href="https://listenbrainz.readthedocs.io/en/production/dev/json/?highlight=playing%20now#submission-json">
<a href="https://listenbrainz.readthedocs.io/en/latest/users/json.html?highlight=playing%20now#submission-json">
<i>playing-now</i> event
</a>
, we cannot display anything here.
Expand Down
2 changes: 1 addition & 1 deletion listenbrainz/db/dump.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
""" This module contains data dump creation and import functions.
Read more about the data dumps in our documentation here:
https://listenbrainz.readthedocs.io/en/production/dev/listenbrainz-dumps.html
https://listenbrainz.readthedocs.io/en/latest/users/listenbrainz-dumps.html
"""

# listenbrainz-server - Server for the ListenBrainz project
Expand Down
2 changes: 1 addition & 1 deletion listenbrainz/db/mapping_dump.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
""" This module contains data dump creation and import functions.
Read more about the data dumps in our documentation here:
https://listenbrainz.readthedocs.io/en/production/dev/listenbrainz-dumps.html
https://listenbrainz.readthedocs.io/en/latest/users/listenbrainz-dumps.html
"""

# listenbrainz-server - Server for the ListenBrainz project
Expand Down
2 changes: 1 addition & 1 deletion listenbrainz/webserver/templates/index/data.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h3>Available dump types</h3>
<b>fullexport:</b> Dumps of the full ListenBrainz database, updated every two weeks on or about the 1st and the 15th of each month.<br>
<b>incremental:</b> Daily incremental dumps based on the most recent fullexport dump.<br>
<b>spark:</b> A version of the fullexport dump suitable for importing directly into
<a href="https://listenbrainz.readthedocs.io/en/production/dev/spark-devel-env/">our spark infrastructure</a>.
<a href="https://listenbrainz.readthedocs.io/en/latest/developers/spark-devel-env.html">our spark infrastructure</a>.
</p>


Expand Down
2 changes: 1 addition & 1 deletion listenbrainz/webserver/templates/index/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ <h2>About us</h2>
</p>
<p>
We also make this incredibly useful data available to anyone who cares to play with it. You
can use our API or our regular public <a href="https://listenbrainz.readthedocs.io/en/production/dev/listenbrainz-dumps/">data dumps</a>.
can use our API or our regular public <a href="https://listenbrainz.readthedocs.io/en/latest/users/listenbrainz-dumps.html">data dumps</a>.
All non-commercial use of this data is free, but commercial users are asked to <a href="https://metabrainz.org/supporters/account-type">support</a>
us in order to help fund the project.
</p>
Expand Down
2 changes: 1 addition & 1 deletion listenbrainz_spark/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ListenBrainz Spark

In order to understand how ListenBrainz works and communicates
with Spark, read the [architecture document](https://listenbrainz.readthedocs.io/en/production/dev/spark-architecture).
with Spark, read the [architecture document](https://listenbrainz.readthedocs.io/en/latest/developers/spark-architecture.html).
2 changes: 1 addition & 1 deletion listenbrainz_spark/recommendations/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The component uses collaborative filtering to recommend recordings to users base

**Note**:
- The listening history and supporting data used by ListenBrainz is heavy for the local environment. Releasing small test datasets to make the development experience smoother is on our roadmap.
- Spark sends the generated recommendations to ListenBrainz webserver containers as Rabbit MQ messages. Therefore before generating the recommendations, the `spark_reader` container should be running. For details, see the [Spark Architecture](https://listenbrainz.readthedocs.io/en/production/dev/spark-architecture/) document.
- Spark sends the generated recommendations to ListenBrainz webserver containers as Rabbit MQ messages. Therefore before generating the recommendations, the `spark_reader` container should be running. For details, see the [Spark Architecture](https://listenbrainz.readthedocs.io/en/latest/developers/spark-architecture.html) document.


## Production environment
Expand Down

0 comments on commit a1479a3

Please sign in to comment.