More options for building/installing documentation to ease working on it

未关闭
#7,225 14 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞

调研方向

检查涉及文档生成的构建和安装入口,然后阅读所链接 pull request 的讨论,以了解之前的上下文。在保留当前默认值的同时,实现为构建 .rst、绘图或两者,以及安装文档或全部内容而提供的请求选项。完成的标准是文档相关工作可以避免不必要的绘图生成和完整安装。

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

描述

feature request

At the moment working on the documentation is a bit tedious. Checking my changes before committing involves building and installing, check my changes, fix/improve, build and install again, … you get the idea.

Status quo:

  • All plots are generated from scratch every time. That is quite time consuming and for the most part unnecessary when I'm just fixing links, typos, layout, etc. Sure, --parallel does help but still wasted time.
  • No apparent way of installing just the documentation. Not really necessary to install everything (gmt executable, library, development headers and built-in data) every time. Not as time consuming as building but still wasted time.

Desired feature:

  • Have options to build
    • just the .rst
    • just the plots
    • both (default).
  • Have options to install
    • just the documentation
    • everything (default)

Benefits:

  • Would ease/accelerate working on the documentation.

See https://github.com/GenericMappingTools/gmt/pull/7222#discussion_r1087558281 for the original conversation.

主要语言
C
星标
999
派生
421
平均合并
12 小时 59 分钟
30 天内合并 PR
58

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

GenericMappingTools/gmt 的其他 Issue

查看 GenericMappingTools/gmt 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

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