Link to demo on each widget page that has one

Offen
#176 31 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
42/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
jquery

Rechercherichtung

Beginne damit, das XSLT zu finden, das Widget-Seiten rendert, sowie die vorhandenen Links zur API-Dokumentation auf Demo-Seiten. Prüfe das vorgeschlagene optionale Attribut oder Element und die damit verbundenen URL-Unterschiede von jQuery Mobile; als erledigt gilt die Aufgabe, wenn die betreffenden Widget-Seiten einen deutlich sichtbaren Demo-Link enthalten und auf den Demo-Seiten der API-Link ebenso sichtbar ist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Picking one idea from #115:

There should be a link to the corresponding demo page on each widget page. It should be styled to stand out. A good spot might be to the right of the page title, somthing like this: http://bassistance.de/i/109e80.png (not really this styling, something that looks good).

This would also work for jQuery Mobile. Since the URLs don't have the same scheme, a good option might be to implement an optional attribute or element in the XSLT that gets output as a link, if present. So we'd just add the URL to the demo where it applies.

We should also make the link to the API documentation much easier to spot on our demo pages. The style of both links should probably be the same.

If that sounds good, I can create tickets in the appropriate repos, along with patches.

Vorherrschende Sprache
HTML
Sterne
73
Forks
75
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus jquery/api.jqueryui.com

Alle Issues in jquery/api.jqueryui.com

Ähnliche Issues

Weitere Issues zu Documentation

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.