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

Update GitHub Pages URLs #1131

Merged
merged 1 commit into from
Jul 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ This style strives to draw representative highway shields wherever they are tagg
For testing out changes across a variety of different shield designs and ref lengths there is a shield test gallery available:

- In local development: http://localhost:1776/shieldtest.html
- On the public demo site: https://zelonewolf.github.io/openstreetmap-americana/shieldtest.html
- On the public demo site: https://americanamap.org/shieldtest.html

This aims to display a table of all the unique shield designs in the style with some example refs from 1 to 6 characters. The `networks` and `refs` arrays can be modified for testing with a different set of either:

Expand Down
2 changes: 1 addition & 1 deletion scripts/extract_layer.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const locales = opts.locales[0].split(",");

const style = Style.build(
config.OPENMAPTILES_URL,
"https://zelonewolf.github.io/openstreetmap-americana/sprites/sprite",
"https://americanamap.org/sprites/sprite",
"https://osm-americana.github.io/fontstack66/{fontstack}/{range}.pbf",
locales
);
Expand Down
2 changes: 1 addition & 1 deletion scripts/folder_diff.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ fs.readdirSync(outputFolder)
// Add an entry to the markdown table
const loc = getLocationByName(basefile);
mdContent +=
`| ${basefile}<br>${loc}<br>[Current Render](https://zelonewolf.github.io/openstreetmap-americana/#map=${loc})` +
`| ${basefile}<br>${loc}<br>[Current Render](https://americanamap.org/#map=${loc})` +
`<br>[This PR](${urlBase}#map=${loc}) ` +
`| ![Current Render](${urlBase}${outputFolder}/${basefile}_${sha}_before.png) |` +
` ![This PR](${urlBase}${outputFolder}/${basefile}_${sha}_after.png) |\n`;
Expand Down
2 changes: 1 addition & 1 deletion scripts/generate_style.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ let opts = program.opts();

let style = Style.build(
config.OPENMAPTILES_URL,
"https://zelonewolf.github.io/openstreetmap-americana/sprites/sprite",
"https://americanamap.org/sprites/sprite",
"https://osm-americana.github.io/fontstack66/{fontstack}/{range}.pbf",
opts.locales
);
Expand Down
2 changes: 1 addition & 1 deletion scripts/stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const distDir = opts.directory;

const style = Style.build(
config.OPENMAPTILES_URL,
"https://zelonewolf.github.io/openstreetmap-americana/sprites/sprite",
"https://americanamap.org/sprites/sprite",
"https://osm-americana.github.io/fontstack66/{fontstack}/{range}.pbf",
locales
);
Expand Down
4 changes: 2 additions & 2 deletions scripts/taginfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function addNetworkTags(project) {
if (!fs.existsSync(save_filename)) {
fs.writeFileSync(save_filename, shieldGfx.canvas.toBuffer());
}
icon_url = `https://zelonewolf.github.io/openstreetmap-americana/shield-sample/shield_${network_filename_id}.svg`;
icon_url = `https://americanamap.org/shield-sample/shield_${network_filename_id}.svg`;
} else if (
icon !== undefined &&
(shieldDef.colorLighten !== undefined ||
Expand Down Expand Up @@ -122,7 +122,7 @@ function addNetworkTags(project) {
if (!fs.existsSync(save_filename)) {
fs.writeFileSync(`${process.cwd()}/${save_filename}`, svgText);
}
icon_url = `https://zelonewolf.github.io/openstreetmap-americana/shield-sample/shield_${network_filename_id}.svg`;
icon_url = `https://americanamap.org/shield-sample/shield_${network_filename_id}.svg`;
} else {
icon_url = `https://raw.githubusercontent.com/ZeLonewolf/openstreetmap-americana/main/icons/${icon}.svg`;
}
Expand Down
2 changes: 1 addition & 1 deletion shieldlib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -323,4 +323,4 @@ In addition to the stock drawing functions, a custom draw function can be specif

## Documentation

See [TypeDoc generated documentation](https://zelonewolf.github.io/openstreetmap-americana/shield-docs/index.html) for detailed API information.
See [TypeDoc generated documentation](https://americanamap.org/shield-docs/index.html) for detailed API information.