public inbox for linux-doc@vger.kernel.org
 help / color / mirror / Atom feed
* Documentation/scsi/aha152x.rst
@ 2020-07-29 17:16 Julia Lawall
  2020-07-29 17:33 ` Documentation/scsi/aha152x.rst Randy Dunlap
  0 siblings, 1 reply; 3+ messages in thread
From: Julia Lawall @ 2020-07-29 17:16 UTC (permalink / raw)
  To: mchehab+huawei, corbet; +Cc: linux-doc

Hello,

The ada152 documentation mentions some compilation flags.  This was
converted to ReST as eg:

+- DAUTOCONF
+    use configuration the controller reports (AHA-152x only)

--DAUTOCONF
- use configuration the controller reports (AHA-152x only)

This is clearly not correct.  The - should be attached to the D, and not
be converted to a bullet.  I tried replacing:

- DAUTOCONF

by

- -DAUTOCONF

but the result with rst2html was not very satisfactory.  The DAUTOCONF
seems to be slightly raised with respect to the rest of the text.  And a
subsequent case:

- DSETUP0="{ IOPORT, IRQ, SCSI_ID, RECONNECT, PARITY, SYNCHRONOUS, DELAY, EXT_TRANS }"

comes out different from the ones that have no associated list of possible
values (larger letters, different font).

What should be done instead?

Also, does the kernel include some scripts for testing the documentation?
make Documentation/scsi/aha152x.html doesn't seem to work.

thanks,
julia

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Documentation/scsi/aha152x.rst
  2020-07-29 17:16 Documentation/scsi/aha152x.rst Julia Lawall
@ 2020-07-29 17:33 ` Randy Dunlap
  2020-07-29 18:06   ` Documentation/scsi/aha152x.rst Julia Lawall
  0 siblings, 1 reply; 3+ messages in thread
From: Randy Dunlap @ 2020-07-29 17:33 UTC (permalink / raw)
  To: Julia Lawall, mchehab+huawei, corbet; +Cc: linux-doc

On 7/29/20 10:16 AM, Julia Lawall wrote:
> Hello,
> 
> The ada152 documentation mentions some compilation flags.  This was
> converted to ReST as eg:
> 
> +- DAUTOCONF
> +    use configuration the controller reports (AHA-152x only)
> 
> --DAUTOCONF
> - use configuration the controller reports (AHA-152x only)
> 
> This is clearly not correct.  The - should be attached to the D, and not
> be converted to a bullet.  I tried replacing:
> 
> - DAUTOCONF
> 
> by
> 
> - -DAUTOCONF
> 
> but the result with rst2html was not very satisfactory.  The DAUTOCONF
> seems to be slightly raised with respect to the rest of the text.  And a
> subsequent case:
> 
> - DSETUP0="{ IOPORT, IRQ, SCSI_ID, RECONNECT, PARITY, SYNCHRONOUS, DELAY, EXT_TRANS }"
> 
> comes out different from the ones that have no associated list of possible
> values (larger letters, different font).
> 
> What should be done instead?
> 
> Also, does the kernel include some scripts for testing the documentation?
> make Documentation/scsi/aha152x.html doesn't seem to work.

I would do this:

$ make SPHINXDIRS="scsi" htmldocs

to limit the htmldocs build to Documentation/scsi/.
I don't know of a way to build only one output file.


-- 
~Randy


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Documentation/scsi/aha152x.rst
  2020-07-29 17:33 ` Documentation/scsi/aha152x.rst Randy Dunlap
@ 2020-07-29 18:06   ` Julia Lawall
  0 siblings, 0 replies; 3+ messages in thread
From: Julia Lawall @ 2020-07-29 18:06 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: mchehab+huawei, corbet, linux-doc



On Wed, 29 Jul 2020, Randy Dunlap wrote:

> On 7/29/20 10:16 AM, Julia Lawall wrote:
> > Hello,
> >
> > The ada152 documentation mentions some compilation flags.  This was
> > converted to ReST as eg:
> >
> > +- DAUTOCONF
> > +    use configuration the controller reports (AHA-152x only)
> >
> > --DAUTOCONF
> > - use configuration the controller reports (AHA-152x only)
> >
> > This is clearly not correct.  The - should be attached to the D, and not
> > be converted to a bullet.  I tried replacing:
> >
> > - DAUTOCONF
> >
> > by
> >
> > - -DAUTOCONF
> >
> > but the result with rst2html was not very satisfactory.  The DAUTOCONF
> > seems to be slightly raised with respect to the rest of the text.  And a
> > subsequent case:
> >
> > - DSETUP0="{ IOPORT, IRQ, SCSI_ID, RECONNECT, PARITY, SYNCHRONOUS, DELAY, EXT_TRANS }"
> >
> > comes out different from the ones that have no associated list of possible
> > values (larger letters, different font).
> >
> > What should be done instead?
> >
> > Also, does the kernel include some scripts for testing the documentation?
> > make Documentation/scsi/aha152x.html doesn't seem to work.
>
> I would do this:
>
> $ make SPHINXDIRS="scsi" htmldocs
>
> to limit the htmldocs build to Documentation/scsi/.
> I don't know of a way to build only one output file.

Thanks!  That worked.

The -Ds still don't look at all good though.

julia

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-07-29 18:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-29 17:16 Documentation/scsi/aha152x.rst Julia Lawall
2020-07-29 17:33 ` Documentation/scsi/aha152x.rst Randy Dunlap
2020-07-29 18:06   ` Documentation/scsi/aha152x.rst Julia Lawall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox