docs: the documentation site is not published yet, so its links 404

Aperta
#91 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github-actions, python

Direzione di ricerca

Read mkdocs.yml, .lychee.toml, and the eight notebooks under docs/tutorials/ to understand the site paths and current link exclusions. The issue says deployment also depends on enabling GitHub Pages and making the repository public; check those prerequisites before validating the published URL. Done means the site loads, notebook links work in Jupyter, on GitHub, and on the site, and lychee checks them again.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug documentation

🤖 AI text below 🤖

Problem

The documentation site has never been published. GitHub Pages isn't enabled on the repository, so every https://algorithmiq.github.io/AEGISS/... URL returns 404, /tutorials/... included.

These links already point there:

  • .github/ISSUE_TEMPLATE/config.yml (the "Documentation" and "Tutorials" links)
  • CONTRIBUTING.md and docs/README.md
  • pyproject.toml (Homepage, Documentation), CITATION.cff and mkdocs.yml (site_url)

The tutorial notebooks have a related problem. They link to each other and to the docs pages relatively (02_dmrg.ipynb, ../uhf.md, ../api/utils.md#plotting). Those links work in Jupyter and on GitHub, but mkdocs-jupyter does not rewrite them, so all 8 are broken on the rendered site. For now (#88) they stay relative, and .lychee.toml skips them.

While the repository is internal, Pages would be served at a private, access-controlled address rather than algorithmiq.github.io/AEGISS. The public URLs only start working once the repository is public.

To do

  • Settings → Pages → Source: GitHub Actions (docs.yml from #88 then deploys on every push to main)
  • Once the repository is public, check that https://algorithmiq.github.io/AEGISS/ serves the site
  • Switch the 8 notebook links in docs/tutorials/*.ipynb to absolute site URLs (https://algorithmiq.github.io/AEGISS/tutorials/02_dmrg/, …), which work in Jupyter, on GitHub and on the site
  • Drop the notebook and github.com/Algorithmiq/AEGISS exclusions from .lychee.toml, so the link check covers them again
Lingua principale
Python
Stelle
0
Fork
0
Merge medio
19h 42m
PR unite (30g)
33

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Algorithmiq/AEGISS

Tutte le issue di Algorithmiq/AEGISS

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.