Skip to content

Commit

Permalink
chore: fix relative links in docs and enforce we dont break them again (
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshallOfSound authored Sep 28, 2018
1 parent 46141b8 commit e86298d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/development/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ For guides on Electron app development, see
* [Coding Style](coding-style.md)
* [Using clang-format on C++ Code](clang-format.md)
* [Build System Overview](build-system-overview.md)
* [Build Instructions (macOS)](build-instructions-osx.md)
* [Build Instructions (macOS)](build-instructions-macos.md)
* [Build Instructions (Windows)](build-instructions-windows.md)
* [Build Instructions (Linux)](build-instructions-linux.md)
* [Chromium Development](chromium-development.md)
Expand Down
2 changes: 1 addition & 1 deletion docs/development/build-instructions-gn.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Follow the guidelines below for building Electron.

Check the build prerequisites for your platform before proceeding

* [macOS](build-instructions-osx.md#prerequisites)
* [macOS](build-instructions-macos.md#prerequisites)
* [Linux](build-instructions-linux.md#prerequisites)
* [Windows](build-instructions-windows.md#prerequisites)

Expand Down
2 changes: 1 addition & 1 deletion docs/development/debugging-instructions-macos.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ you prefer a graphical interface.

* **A debug build of Electron**: The easiest way is usually building it
yourself, using the tools and prerequisites listed in the
[build instructions for macOS](build-instructions-osx.md). While you can
[build instructions for macOS](build-instructions-macos.md). While you can
attach to and debug Electron as you can download it directly, you will
find that it is heavily optimized, making debugging substantially more
difficult: The debugger will not be able to show you the content of all
Expand Down
2 changes: 1 addition & 1 deletion docs/development/pull-requests.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ $ git fetch upstream

Build steps and dependencies differ slightly depending on your operating system.
See these detailed guides on building Electron locally:
* [Building on MacOS](https://electronjs.org/docs/development/build-instructions-osx)
* [Building on MacOS](https://electronjs.org/docs/development/build-instructions-macos)
* [Building on Linux](https://electronjs.org/docs/development/build-instructions-linux)
* [Building on Windows](https://electronjs.org/docs/development/build-instructions-windows)

Expand Down
1 change: 1 addition & 0 deletions script/check-relative-doc-links.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def main():
' files within docs directory and its ' +
str(totalDirs) + ' subdirectories.')
print('Found ' + str(totalBrokenLinks) + ' broken relative links.')
return totalBrokenLinks


def getBrokenLinks(filepath):
Expand Down
2 changes: 1 addition & 1 deletion script/tls.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def check_tls(verbose):
if sys.platform == "linux" or sys.platform == "linux2":
tutorial = "./docs/development/build-instructions-linux.md"
elif sys.platform == "darwin":
tutorial = "./docs/development/build-instructions-osx.md"
tutorial = "./docs/development/build-instructions-macos.md"
elif sys.platform == "win32":
tutorial = "./docs/development/build-instructions-windows.md"
else:
Expand Down

0 comments on commit e86298d

Please sign in to comment.