Skip to content

Commit

Permalink
Set URL to new boxes.hackerspace-bamberg.de
Browse files Browse the repository at this point in the history
The old web instance at https://www.festi.info/boxes.py/index.html is no
more and just redirects to the new location. Update the docs and links
in generated files to make this look as legitimate as it is.
  • Loading branch information
florianfesti committed May 26, 2024
1 parent 0a1b298 commit b77d29d
Show file tree
Hide file tree
Showing 154 changed files with 306 additions and 306 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ About Boxes.py

* Boxes.py is an online box generator

* https://www.festi.info/boxes.py/index.html
* https://boxes.hackerspace-bamberg.de/

* Boxes.py is an Inkscape plug-in
* Boxes.py is library to write your own
Expand Down
6 changes: 3 additions & 3 deletions boxes/drawing.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ def _add_metadata(self, root) -> None:
desc = md["short_description"] or ""
if "description" in md and md["description"]:
desc += "\n\n" + md["description"]
desc += "\n\nCreated with Boxes.py (https://festi.info/boxes.py)\n"
desc += "\n\nCreated with Boxes.py (https://boxes.hackerspace-bamberg.de/)\n"
desc += "Command line: %s\n" % md["cli"]
desc += "Command line short: %s\n" % md["cli_short"]
if md["url"]:
Expand All @@ -472,7 +472,7 @@ def _add_metadata(self, root) -> None:
txt = """\n{name} - {short_description}\n""".format(**md)
if md["description"]:
txt += """\n\n{description}\n\n""".format(**md)
txt += """\nCreated with Boxes.py (https://festi.info/boxes.py)\n"""
txt += """\nCreated with Boxes.py (https://boxes.hackerspace-bamberg.de/)\n"""
if not md["reproducible"]:
txt += f"""Creation date: {creation_date}\n"""

Expand Down Expand Up @@ -618,7 +618,7 @@ def _metadata(self) -> str:
desc += f'%%CreationDate: {md["creation_date"].strftime("%Y-%m-%d %H:%M:%S")}\n'
desc += f'%%Keywords: boxes.py, laser, laser cutter\n'
desc += f'%%Creator: {md.get("url") or md["cli"]}\n'
desc += "%%CreatedBy: Boxes.py (https://festi.info/boxes.py)\n"
desc += "%%CreatedBy: Boxes.py (https://boxes.hackerspace-bamberg.de/)\n"
for line in (md["short_description"] or "").split("\n"):
desc += "%% %s\n" % line
desc += "%\n"
Expand Down
4 changes: 2 additions & 2 deletions examples/ABox.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions examples/AgricolaInsert.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions examples/AirPurifier.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions examples/AllEdges.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions examples/AngledBox.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions examples/AngledCutJig.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions examples/Arcade.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions examples/Atreus21.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions examples/BasedBox.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions examples/BayonetBox.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions examples/BinTray.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions examples/BirdHouse.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions examples/BottleStack.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions examples/BottleTag.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions examples/BreadBox.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions examples/BrickSorter.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions examples/BurnTest.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions examples/CanStorage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions examples/CarbonFilter.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions examples/CardBox.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit b77d29d

Please sign in to comment.