Closed abs-zer closed 1 year ago
@abs-zer Thank you for trying to fix problems with the site. I appreciate your efforts! However, this is a GitHub Pages Jekyll site, so those links are meant to function from https://imagej.net/scripting/script-editor or https://imagej.github.io/scripting/script-editor, not directly from the Markdown files previewed within the repository itself. If we make the changes you suggest, then the links on the production site will be broken in exchange. So I'm afraid I must close this. But please don't let that stop you from fixing other issues you might come across when browsing on https://imagej.net! There is an editing guide at https://imagej.net/editing.
Every link on https://github.com/imagej/imagej.github.io/blob/main/_pages/scripting/script-editor.md seems to be broken. It looks like most links need ".md" to invoke the markup file. The changes here fix those broken links. Several ways: •Specify in the current directory: (comparisons.md) •Specify the path from the actual root: (/_pages/libs/scijava.md) •Specify parent folder instead of root (they are the same): (../develop/git/index.md) [ For THE SAME RESULT, (/_pages/develop/git/index.md). ] [ For A FILE DIRECTORY, (../develop/git), (/_pages/develop/git), (../develop/git/), (/_pages/develop/git/) ] •Specify the default file in the current folder: (index.md) [ For THE SAME RESULT, (/_pages/scripting/index.md). ] [ For A FILE DIRECTORY, (.), (../scripting), (/_pages/scripting), (../scripting/), (/_pages/scripting/). ]