Anduin2017 / Anduin2017/HowToCook

上下节文章联系思路

Open
#489 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
102k
Forks
11.1k
Avg merge
14h 21m
Merged PRs (30d)
2

Description

关于 PR #137 提供一种思路

  1. 维护一个目录文件,这个目录文件应该包含所有页面(添加菜单的 PR 应该更新这个文件)
  2. 数据结构为树比如
{
  "types": "dishes",
  "recipes": [
     {
        "types":"breakfirst",
        "recipes":[]
     }
  ]
}
  1. 每页通过深度遍历该树,获取该页上下页信息

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing PR #137 and the current page and menu structure. Define how the proposed tree would include every page and how each page would find its previous and next entries. Done means the navigation links work consistently across the documented page hierarchy and the directory stays updated when menus change.

Written by the indexing model from the issue text.

Assessment

Domain
content
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.