Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix examples website #298

Merged
merged 3 commits into from
Dec 20, 2022
Merged

Fix examples website #298

merged 3 commits into from
Dec 20, 2022

Conversation

fKunstner
Copy link
Collaborator

@fKunstner fKunstner commented Dec 19, 2022

Fix outdated examples on backpack.pt #294 (comment)

Code change

  • backpack/utils/examples.py: Changed the function load_one_batch_mnist to accept a flat optional argument to return images as vectors for compatibility with the examples.

HTML change

  • Fixed the imports in docs_src/splash/_includes/code-samples.html
  • Copy-pasted the resulting code in python files in docs_src/splash/_includes/code_*.py to test them

Build change

  • Added the CNAME generation in buildweb.sh, updated docs_src/README.md with some info

@f-dangel
Copy link
Owner

Also fixes #223

@f-dangel f-dangel merged commit ffa6068 into master Dec 20, 2022
@f-dangel f-dangel deleted the fix-examples-website branch December 20, 2022 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants