Reloading /package-documentation/ shows pkgdown README instead of version chooser

オープン 初心者向け
#206 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

@ANAMASGARD がすでに取り組んでいます。

2026年12月3日 から。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
77/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
github, jekyll, markdown
領域
documentation

調査の方向性

Issue では src/pages/package-documentation/index.md と PecanProject/package-documentation の README.md が挙げられています。まず、選択画面のテキストとバージョンリンクを比較してください。パッケージドキュメントの README を、イントロダクションと既存の4つのサブパスに合わせて更新し、その後、メニューからの移動と直接読み込みで同じ選択画面が表示され、各バージョンリンクから対応する pkgdown ツリーが開くことを確認してください。

索引モデルが issue の本文から書いたものです。

説明

Summary

Documentation -> Package Documentation shows a version chooser (develop, latest, v1.10.0, v1.9.0). Reloading or opening https://pecanproject.org/package-documentation/ directly shows the PecanProject/package-documentation Jekyll README (“Maintained by Robots”) with no version links.

Steps to reproduce

https://github.com/user-attachments/assets/7e40901a-4431-4b0c-8185-769144d10156

Expected

Same version chooser on menu navigation, reload, bookmark, and shared link.

Actual

Jekyll README from package-documentation repo. No develop / latest / v1.10.0 / v1.9.0 links.

Subpaths still work: /package-documentation/develop/, /latest/, /v1.10.0/, /v1.9.0/.

Cause

Two publishers share one URL:

  • Website (src/pages/package-documentation/index.md): chooser — visible on in-app navigation only.
  • PecanProject/package-documentation (Pages on main): README at repo root — what the server returns on full load.

#146 / #148 added the chooser on the website only, not on the path GitHub Pages serves.

Proposed fix

Make the server root match the chooser: update PecanProject/package-documentation README.md to mirror src/pages/package-documentation/index.md (intro + four links to existing subpaths).

Acceptance criteria

  • Menu navigation shows four version links.
  • Reload and direct load of /package-documentation/ show the same chooser.
  • All four version links still open the correct pkgdown trees.
主要言語
CSS
スター
7
フォーク
25
平均マージ
3日 13時間
マージ済み PR(30日)
2

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

PecanProject/PecanProject.github.io のほかの issue

PecanProject/PecanProject.github.io の issue をすべて見る

似ている issue

Documentation の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。