Skip to contentSkip to conversation

Documentation/scsi/aha152x.rst

DISCUSSION Julia Lawall 2 participants 3 messages Jul 29, 2020 Documentation

lore
Share & tools
lore
#0 lore raw

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

reviewer
#1 lore raw
Quoted 26 lines · Julia Lawall

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 }"

Quoted 7 lines

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.

Signature · 1 line
~Randy
#2 lore raw
Quoted 35 lines · Randy Dunlap
Quoted 26 lines · Julia Lawall

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 }"

Quoted 7 lines

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.

Quoted 6 lines

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