Skip to content

Commit

Permalink
Update dpcs/latest URLs to simply be docs/
Browse files Browse the repository at this point in the history
This makes them not just simpler, but focuses on the URLs we prefer for
SEO.

---
Signed-off-by: Brad Chamberlain <[email protected]>
  • Loading branch information
bradcray committed Sep 16, 2024
1 parent 2f33eca commit b6abb0e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion compiler/AST/symbol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ const char* Symbol::getUnstableMsg() const {
// When printing the deprecation message to the console we typically
// want to filter out inline markup used for Sphinx (which is useful
// for when generating the docs). See:
// https://chapel-lang.org/docs/latest/tools/chpldoc/chpldoc.html#inline-markup-2
// https://chapel-lang.org/docs/tools/chpldoc/chpldoc.html#inline-markup-2
// for information on the markup.
const char* Symbol::getSanitizedMsg(std::string msg) const {
return astr(chpl::removeSphinxMarkup(msg));
Expand Down
2 changes: 1 addition & 1 deletion frontend/include/chpl/util/filtering.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ namespace chpl

/*
Removes the Sphinx inline markup for printing messages to the console.
See https://chapel-lang.org/docs/latest/tools/chpldoc/chpldoc.html#inline-markup-2
See https://chapel-lang.org/docs/tools/chpldoc/chpldoc.html#inline-markup-2
*/
std::string removeSphinxMarkup(const std::string& msg);

Expand Down
2 changes: 1 addition & 1 deletion frontend/lib/util/filtering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ namespace chpl {
namespace {
std::string buildSphinxMarkupRegexp() {
// See documentation on inline Sphinx markup here:
// https://chapel-lang.org/docs/latest/tools/chpldoc/chpldoc.html#inline-markup-2
// https://chapel-lang.org/docs/tools/chpldoc/chpldoc.html#inline-markup-2
// There are some details involved in this, but the main idea is to match
// strings of the form:
//
Expand Down
4 changes: 2 additions & 2 deletions test/deprecated-keyword/messageFiltering.chpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// See: https://chapel-lang.org/docs/latest/tools/chpldoc/chpldoc.html#inline-markup-2
// and: https://chapel-lang.org/docs/latest/tools/chpldoc/chpldoc.html#paragraph-level-markup
// See: https://chapel-lang.org/docs/tools/chpldoc/chpldoc.html#inline-markup-2
// and: https://chapel-lang.org/docs/tools/chpldoc/chpldoc.html#paragraph-level-markup

// No filtering should be applied:
@deprecated(notes="--- No filtering should be applied: ---")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
http://benchmarksgame.alioth.debian.org
Written by: Sung-Eun Choi ([email protected]), revisited by Lydia Duncan
([email protected])
Each program should create and keep alive 503 threads, explicity or
implicitly linked in a ring, and pass a token between one thread and
Expand Down
2 changes: 1 addition & 1 deletion third-party/llvm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ unset:
@echo " 2) 'bundled' to build with the LLVM packaged in the third-party directory"
@echo " 3) 'system' to use a pre-installed system-wide LLVM"
@echo " Currently supported LLVM versions are: $(CHPL_LLVM_SUPPORTED_VERSIONS)"
@echo "See: https://chapel-lang.org/docs/latest/usingchapel/chplenv.html#chpl-llvm"
@echo "See: https://chapel-lang.org/docs/usingchapel/chplenv.html#chpl-llvm"
@exit 1

FORCE:
Expand Down

0 comments on commit b6abb0e

Please sign in to comment.