From c88a082cc782a7924415691d0493c9aae373342a Mon Sep 17 00:00:00 2001 From: Tremain Knight <2108488+tkknight@users.noreply.github.com> Date: Tue, 8 Feb 2022 10:31:38 +0000 Subject: [PATCH] wip --- docs/src/query_gh_votable_issues.py | 2 +- docs/src/votable_issues.rst | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/src/query_gh_votable_issues.py b/docs/src/query_gh_votable_issues.py index 94796209bda..c37a662467a 100644 --- a/docs/src/query_gh_votable_issues.py +++ b/docs/src/query_gh_votable_issues.py @@ -107,4 +107,4 @@ def get_token(filename): autolog_info(f"Writing JSON: {OUTPUT_JSON}") with open(OUTPUT_JSON, "w") as f: - json.dump(votable_json, f) + json.dump(votable_json, f, indent=4) diff --git a/docs/src/votable_issues.rst b/docs/src/votable_issues.rst index a991c42b065..45586052b61 100644 --- a/docs/src/votable_issues.rst +++ b/docs/src/votable_issues.rst @@ -16,13 +16,13 @@ project ordered by the amount of 👍. Please note that there is more development activity than what is on the below table, this is focusing only on the voteable issues. -.. todo:: add link to the repo holding the json file - -.. todo:: spell check "votable (this one) vs voteable" and update all occurences. - -.. note:: The data in this table is updated daily and is sourced from HERE. - For the latest data please see the `voteable issues on GitHub`_ +.. note:: The data in this table is updated daily and is sourced from + `votable-issues.json`_. + For the latest data please see the `voteable issues on GitHub`_. + Note that the list on Github does not show the number of votes 👍 + only the total number of comments for the whole issue. +.. _votable-issues.json: https://github.com/tkknight/votable_issues/blob/main/votable-issues.json .. raw:: html @@ -45,7 +45,7 @@ table, this is focusing only on the voteable issues. $(document).ready(function() { $('#example').DataTable( { - "ajax": 'https://gist.githubusercontent.com/tkknight/8a3fdf81b46554d0b107c5681b7c78e5/raw/dc8eff21a4c7fc465c4e5458dc3573d3dc5d222e/votable-issues.json', + "ajax": 'https://raw.githubusercontent.com/tkknight/votable_issues/main/votable-issues.json', "pageLength": 20, "order": [[ 0, "desc" ]] } );