Skip to content

Fix lychee link checker false positives for auto-generated Sphinx pages#178

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/fix-link-checker-errors
Draft

Fix lychee link checker false positives for auto-generated Sphinx pages#178
Copilot wants to merge 2 commits intomainfrom
copilot/fix-link-checker-errors

Conversation

Copy link

Copilot AI commented Mar 2, 2026

The lychee link checker was reporting broken file errors in genindex.html and prf-prf.html because the quantecon-book-theme injects a "Download Notebook" toolbar button linking to /_notebooks/<pagename>.ipynb for every HTML page — including auto-generated Sphinx utility pages that have no corresponding notebook.

Changes

  • .github/workflows/linkcheck.yml: Add --exclude-path flags to skip genindex.html and prf-prf.html from lychee's input scan
args: --accept 200,403,503 --exclude-path 'genindex.html' --exclude-path 'prf-prf.html' *.html
Original prompt

This section details on the original issue you should resolve

<issue_title>Link Checker Report</issue_title>
<issue_description># Summary

Status Count
🔍 Total 850
✅ Successful 848
⏳ Timeouts 0
🔀 Redirected 0
👻 Excluded 0
❓ Unknown 0
🚫 Errors 2
⛔ Unsupported 0

Errors per input

Errors in genindex.html

  • [ERROR] file:///home/runner/work/continuous_time_mcs/continuous_time_mcs/None | Cannot find file: File not found. Check if file exists and path is correct

Errors in prf-prf.html

  • [ERROR] file:///home/runner/work/continuous_time_mcs/continuous_time_mcs/None | Cannot find file: File not found. Check if file exists and path is correct
    Full Github Actions output
    </issue_description>

<agent_instructions>Please review Issue and advise a FIX via PR</agent_instructions>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@netlify
Copy link

netlify bot commented Mar 2, 2026

Deploy Preview for sparkly-moxie-de1f0e ready!

Name Link
🔨 Latest commit 6d721a7
🔍 Latest deploy log https://app.netlify.com/projects/sparkly-moxie-de1f0e/deploys/69a510821d34630008f844cc
😎 Deploy Preview https://deploy-preview-178--sparkly-moxie-de1f0e.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Mar 2, 2026

Deploy Preview for adorable-cucurucho-69162b ready!

Name Link
🔨 Latest commit 6d721a7
🔍 Latest deploy log https://app.netlify.com/projects/adorable-cucurucho-69162b/deploys/69a510829667860008f1e806
😎 Deploy Preview https://deploy-preview-178--adorable-cucurucho-69162b.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Co-authored-by: mmcky <8263752+mmcky@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix link checker report errors in HTML files Fix lychee link checker false positives for auto-generated Sphinx pages Mar 2, 2026
Copilot finished work on behalf of mmcky March 2, 2026 04:23
@github-actions
Copy link

github-actions bot commented Mar 2, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Link Checker Report

2 participants