Skip to content

Commit d28cf7c

Browse files
committed
Using autogen from the website
1 parent 01b456c commit d28cf7c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

assets/js/document-format.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ function formatEssay(essay){
112112

113113
function loadMoreOpenProblems(amount, idText, idButton){
114114
var presDisplay = document.getElementById(idText);
115-
fetch('https://raw.githubusercontent.com/assumptionsofphysics/autogen/refs/heads/master/openproblems.json')
115+
fetch('https://assumptionsofphysics.org/autogen/openproblems.json')
116116
.then(response => response.text())
117117
.then((data) => {
118118
var problems = JSON.parse(data);
@@ -151,7 +151,7 @@ function formatOpenProblem(problem){
151151
//TODO: better handling of references
152152

153153
var problemHTML = "";
154-
problemHTML += "<h4 style=\"margin-bottom:0\"><b><a href=\"https://raw.githubusercontent.com/assumptionsofphysics/autogen/refs/heads/master/AssumptionsOfPhysicsDraft.pdf#" + problem.label + "\" >" + problem.title + "</a></b></h4>"
154+
problemHTML += "<h4 style=\"margin-bottom:0\"><b><a href=\"https://assumptionsofphysics.org/autogen/AssumptionsOfPhysicsDraft.pdf#" + problem.label + "\" >" + problem.title + "</a></b></h4>"
155155
problemHTML += "<p><small>" + problem.description.replaceAll("\\ref", "ref") + "</small></br>";
156156
problemHTML += "<i>Category: " + problem.category + " - Tags: " + tags + " - ID: " + problem.label + video + "</i></p>";
157157
return problemHTML;

book/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ <h2 class="section-title"><span>About the book</span></h2>
1616
<p style="text-align: center">
1717
<a style="margin: 10px" class="btn btn-primary btn-large" href="https://doi.org/10.3998/mpub.12204707"><i class="fas fa-download fa-fw"></i>&nbsp;Published version (v3.0)</a>
1818
<a style="margin: 10px" class="btn btn-primary btn-large" href="AssumptionsOfPhysicsV3.0.pdf"><i class="fas fa-download fa-fw"></i>&nbsp;Latest version (v3.0)</a>
19-
<a style="margin: 10px" class="btn btn-primary btn-large" href="https://raw.githubusercontent.com/assumptionsofphysics/autogen/refs/heads/master/AssumptionsOfPhysicsDraft.pdf"><i class="fas fa-download fa-fw"></i>&nbsp;Current draft</a>
19+
<a style="margin: 10px" class="btn btn-primary btn-large" href="https://assumptionsofphysics.org/autogen/AssumptionsOfPhysicsDraft.pdf"><i class="fas fa-download fa-fw"></i>&nbsp;Current draft</a>
2020
<a style="margin: 10px" class="btn btn-primary btn-large" href="https://github.com/assumptionsofphysics/book"><i class="fab fa-github fa-fw"></i>&nbsp;Source repository</a>
2121
</p>
2222
<p><a href="../assumptionsofphysics.bib">Bibtex information</a> -

0 commit comments

Comments
 (0)