Skip to content

Commit 619c6dc

Browse files
committed
More
1 parent f7fae14 commit 619c6dc

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.htmltest.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ IgnoreAltMissing: true
55
IgnoreCanonicalBrokenLinks: false
66
IgnoreInternalEmptyHash: true # TODO: remove after resolution of https://github.com/google/docsy/issues/1995
77
CheckMailto: false
8+
# StripQueryString: false # TODO: enable once htmltest is fixed
89
TestFilesConcurrently: true
910
IgnoreDirs:
1011
# DO NOT EDIT! IgnoreDirs list is auto-generated from markdown file front matter.
@@ -54,7 +55,7 @@ IgnoreURLs: # list of regexs of paths or URLs to be ignored
5455

5556
# Ignore Docsy-generated GitHub links for now, until
5657
# https://github.com/google/docsy/issues/1432 is fixed
57-
- ^https?://github\.com/.*?/.*?/(new|edit|issues/new\?title)/ # view-page, edit-source etc
58+
- ^https?://github\.com/.*?/.*?/(new/|edit/|issues/new\?) # view-page, edit-source etc
5859
# Ignore "View page source" links, except for spec pages, i.e., links starting with
5960
# https://github.com/open-telemetry/opentelemetry.io/tree/main/content/en/docs/specs
6061
- ^https://github\.com/open-telemetry/opentelemetry.io/tree/main/content/[^e]

content/en/blog/2024/otel-operator-q-and-a/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ title:
55
linkTitle: OTel Operator Q&A
66
date: 2024-05-13
77
author: '[Adriana Villela](https://github.com/avillela) (ServiceNow)'
8-
canonical_url: https://adri-v.medium.com/81d63addbf92?
8+
canonical_url: https://adri-v.medium.com/81d63addbf92
99
cSpell:ignore: automagically mycollector
1010
---
1111

scripts/get-url-status.mjs

+6-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,12 @@ export function log(...args) {
2020
}
2121

2222
// Check for fragment and corresponding anchor ID in page.
23-
async function checkForFragment(url, page, status) {
23+
async function checkForFragment(_url, page, status) {
24+
// FIXME: htmltest seems to mistakenly double escape '+' in URLs, and
25+
// ampersands as `\u0026`. Let's attempt to patch that there. TODO: address
26+
// this upstream; at least create an issue.
27+
// DISABLING FOR NOW:
28+
const url = _url; // .replace(/+/g, '+').replace(/\\u0026/g, '&');
2429
const parsedUrl = new URL(url);
2530
if (parsedUrl.hash) {
2631
let fragmentID = parsedUrl.hash.substring(1); // Remove the leading '#'

0 commit comments

Comments
 (0)