Skip to content

Commit

Permalink
License work
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperknot committed Jan 11, 2024
1 parent 3a738dc commit 0714def
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# openfreemap

### License
## License

Licenses are listed in [LICENSE.md](LICENSE.md)
The license of this project is [MIT](https://www.tldrlegal.com/license/mit-license). Map data is from [OpenStreetMap](https://www.openstreetmap.org/copyright). The licenses for included projects are listed in [LICENSE.md](https://github.com/hyperknot/openfreemap/blob/main/LICENSE.md).
2 changes: 1 addition & 1 deletion website/assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ button:-moz-focusring {
/* --- start --- */

body {
padding: 0 40px;
padding: 0 40px 100px;

line-height: 1.5;
font-size: 17px;
Expand Down
4 changes: 2 additions & 2 deletions website/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@


def generate():
licenses = open('../LICENSE.md').read().split('---')[0]
# licenses = open('../LICENSE.md').read().split('---')[0]

text_md = open('text.md').read()
text_md = text_md.replace('{licenses}', licenses)
# text_md = text_md.replace('{licenses}', licenses)

text_html = marko.convert(text_md)

Expand Down
2 changes: 1 addition & 1 deletion website/map_docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<button onclick="selectStyle('liberty')">Liberty</button>
<button onclick="selectStyle('positron')">Positron</button>
</p>
<p>
<p style="margin-bottom: 2em">
Use the following style in a MapLibre map:
<code id="style-url-code">https://tiles.openfreemap.org/styles/liberty</code>
</p>
Expand Down
4 changes: 3 additions & 1 deletion website/text.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,6 @@ If you are using this in printed media or video, please attribute:

You do not need to display the OpenFreeMap part, but it is nice if you do.

{licenses}
## License

The license of this project is [MIT](https://www.tldrlegal.com/license/mit-license). Map data is from [OpenStreetMap](https://www.openstreetmap.org/copyright). The licenses for included projects are listed in [LICENSE.md](https://github.com/hyperknot/openfreemap/blob/main/LICENSE.md).

0 comments on commit 0714def

Please sign in to comment.