🐛 Navigation links in the API page are broken

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

まだ誰も着手していません。

評価

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

調査の方向性

parse-server API ページを開き、ナビゲーションリンクとセクション見出しを生成するソースを調べます。#using-environment-variables などの各リンクハッシュを対応する見出しと比較し、生成されたページがリンク先のすべてのセクションまでスクロールすることを確認します。API ページのナビゲーションリンクをクリックして結果を検証します。

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

説明

type:bug

Describe the bug
The links in the parse-server API page are broken. Clicking on them changes the page hash but doesn't scroll to the associated section.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the webpage
  2. Scroll down to the nav links below the sponsors
  3. Click on any of the links, none work.

Expected behavior
Clicking on the link should scroll to the associated section.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
One solution is to simply add the id attribute to all the headings so that the browser handles the scrolling without any additional config. For example for the "Using Environment Variables" link, the hash changes to #using-environment-variables, so the associated <h2> in the page should have id="using-environment-variables". This should be done for all the nav links.

主要言語
SCSS
スター
317
フォーク
506
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

parse-community/docs のほかの issue

parse-community/docs の issue をすべて見る

似ている issue

Documentation の issue をもっと見る

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

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