Render FAQPage structured data for docs pages with a FAQ section
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 66/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Ambito
- documentation
Direzione di ricerca
Start with resources/views/docs.blade.php and resources/views/partials/layout.blade.php to trace how documentation content reaches the page head. Check how pages and headings are represented, then identify the existing view tests or add a focused check for pages with and without the FAQ section. Done when FAQ pages emit JSON-LD matching their visible questions and answers, while other pages emit no new markup.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Add FAQPage structured data to documentation pages that have a "Frequently asked questions" section, so crawlers and AI search can read the questions and answers.
Proposal
- Convention in the docs: a
## Frequently asked questionssection where each question is an###heading followed by its answer. - When the page has this section, the page template (
resources/views/docs.blade.php, with the<head>inresources/views/partials/layout.blade.php) renders a<script type="application/ld+json">with aFAQPagemade of those headings and answers. The visible text must match the markup, as Google requires. - Pages without the section render nothing new.
Notes
- Google limits FAQ rich results to well-known government and health sites, so this is for machine readability, not for rich snippets in search. Please check the current Google documentation before relying on it.
- Replaces the GPT generation idea in #57. The FAQ content itself is written by hand in mage-os/devdocs.
- Lingua principale
- PHP
- Stelle
- 3
- Fork
- 11
- Merge medio
- 1g 6h
- PR unite (30g)
- 1
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di mage-os/devdocs-website
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
mage-os/devdocs-website#75 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
mage-os/devdocs-website#73 ·
-
Redirect removed and renamed pagesForse già presa @DavidLambauer l’ha presa oggi. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
mage-os/devdocs-website#72 ·
-
Create FAQs per DocAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
mage-os/devdocs-website#57 · 1 commento ·
-
enhancement good first issue help wanted
Difficoltà 3/5 1-2 giorni Idoneità per principianti 38/100
mage-os/devdocs-website#45 · 1 commento ·
Tutte le issue di mage-os/devdocs-website
Issue simili
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
quantum-php/project#222 ·
-
support
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
15.0
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
mailcow/mailcow-dockerized#7717 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
mollie/WooCommerce#1346 ·