diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index e662a963..cc91b579 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -16,7 +16,7 @@ jobs: with: node-version: 22 - # - run: sudo apt-get install -y python3-clang python3-pip libclang-dev clang + - run: sudo apt-get install -y python3-clang python3-pip libclang-dev clang - name: Build sphinx docs run: make html diff --git a/docs/conf.py b/docs/conf.py index bd63f12b..24222f8f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -12,8 +12,8 @@ sys.path.insert(0, basedir) sys.path.insert(0, basedir + os.sep + 'python') hawkmoth_root = basedir + os.sep + 'c' -hackmouth_clang = ['-std=c11', '-DAMD_COMPILER=0'] -hawmouth_source_uri = 'https://github.com/LivInTheLookingGlass/Euler/blob/master/{source}#L{line}' +hawkmoth_clang = ['-std=c11', '-DAMD_COMPILER=0'] +hawkmoth_source_uri = 'https://github.com/LivInTheLookingGlass/Euler/blob/master/{source}#L{line}' js_source_path = basedir + os.sep + 'javascript' project = 'Euler' @@ -31,7 +31,7 @@ 'sphinx.ext.inheritance_diagram', 'sphinx.ext.mathjax', 'sphinx.ext.todo', - # 'hawkmoth', + 'hawkmoth', # 'breathe', # 'javasphinx', # 'sphinx_autodoc_typehints', diff --git a/python/p0044.py b/python/p0044.py index e30ac06d..fc108e34 100644 --- a/python/p0044.py +++ b/python/p0044.py @@ -9,7 +9,7 @@ It can be seen that P4 + P7 = 22 + 70 = 92 = P8. However, their difference, 70 − 22 = 48, is not pentagonal. -Find the pair of pentagonal numbers, Pj and Pk, for which their sum and difference are pentagonal and D = |Pk − Pj| is +Find the pair of pentagonal numbers, Pj and Pk, for which their sum and difference are pentagonal and D = ``|Pk − Pj|`` is minimised; what is the value of D? """ from itertools import islice