Warnings in sphinx generated manpage

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

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
documentation

Research direction

Run sphinx-build -N -b man docs build/man, then check build/man/hdfcompass.1 with the provided man --warnings command. Inspect the documentation inputs under docs around the generated content corresponding to the reported lines, and verify that the four formatting warnings are gone.

Written by the indexing model from the issue text.

Description

The manpage for hdfcompass produced by:

sphinx-build -N -b man docs build/man

has formatting warnings according to the Debian linting tool.

It uses the output of the following command:

MANROFFSEQ='' MANWIDTH=80 man --warnings -E UTF-8 -l -Tutf8 -Z ./build/man/hdfcompass.1 >/dev/null
<standard input>:113: warning [p 2, 2.0i]: cannot adjust line
<standard input>:120: warning [p 2, 3.7i]: can't break line
<standard input>:148: warning [p 2, 8.0i]: can't break line
<standard input>:161: warning [p 2, 10.3i]: cannot adjust line

which lists 4 warnings.

I understand that the content of the documentation is still work-in-progress, so fixing this issue may be considered low-priority.

Dominant language
Python
Stars
132
Forks
27
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from HDFGroup/hdf-compass

All issues in HDFGroup/hdf-compass

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.