freeCodeCamp / freeCodeCamp/devdocs

C++ docs: link not correctly extracted

未关闭
#1,396 8 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
docs/bug
主要语言
Ruby
星标
39.5k
派生
2.6k
平均合并
4 天 32 分钟
30 天内合并 PR
13

描述

Analogous to
https://devdocs.io/cpp/iterator/move_iterator/operator-
there is (e.g. linked in https://devdocs.io/cpp/iterator/move_iterator ) an `operator+`:
https://en.cppreference.com/w/cpp/iterator/move_iterator/operator+
but DevDocs fails to recognize it and the link there goes to a bad url:
https://en.cppreference.com/w/cpp/iterator/move_iterator/operator (i.e. missing trailing `+`)

The same issue is present e.g. for `std::reverse_iterator::operator+`, etc.

贡献指南

打开贡献指南

调研方向

复现 C++ 的 move_iterator 文档中的错误链接,并将其与 operator- 链接以及 issue 中引用的 cppreference operator+ URL 进行比较。追踪文档链接提取的入口点;完成标准是 operator+ 链接和对应的 std::reverse_iterator::operator+ 链接保留末尾的加号,并且不再指向被截断的 URL。

由索引模型根据 Issue 内容生成。

评估

技术栈
cpp
领域
documentation
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
42/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。