Skip to content

Commit

Permalink
enable hawkmoth again [no ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Jul 2, 2024
1 parent 178c9ae commit 17f52ae
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -31,7 +31,7 @@
'sphinx.ext.inheritance_diagram',
'sphinx.ext.mathjax',
'sphinx.ext.todo',
# 'hawkmoth',
'hawkmoth',
# 'breathe',
# 'javasphinx',
# 'sphinx_autodoc_typehints',
Expand Down
2 changes: 1 addition & 1 deletion python/p0044.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 17f52ae

Please sign in to comment.