Skip to content

Commit

Permalink
Fix http links and make linkchecker more robust (#465)
Browse files Browse the repository at this point in the history
* Fix http link
* Clean before checking links
  • Loading branch information
tcamise-gpsw authored Jan 8, 2024
1 parent 8c12873 commit 8c5be0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ build: ## Build site for deployment
@rm -rf .env

.PHONY: tests
tests: docker-setup
tests: docker-setup clean
tests: ## Serve, then run link checker. Times out after 5 minutes.
-@docker-compose pull linkchecker || docker-compose build linkchecker
@echo COMMAND="-u http://jekyll:4998/ -b \"\" -p 4998 serve" > .env
Expand Down
4 changes: 2 additions & 2 deletions docs/_includes/home_links.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
<h3>Docs</h3>
<p>Detailed Bluetooth Low Energy (BLE) and HTTP Interface Specifications.</p>
<i class="fab fa-bluetooth" style="color: blue"></i>
<a href="{% link specs/ble_versions/ble_2_0.md %}">BLE Specs </a>
<a href="{% link specs/ble_versions/ble_2_0.md %}">BLE Spec</a>
<br />
<i class="fas fa-wifi"></i>
<a href="/http">HTTP Spec →</a>
<a href="{{ site.baseurl }}/http">HTTP Spec →</a>
</div>

<div class="unit one-third">
Expand Down

0 comments on commit 8c5be0d

Please sign in to comment.