Page MenuHomeSoftware Heritage

Fix docstrings in swh-indexer
ClosedPublic

Authored by douardda on Nov 9 2018, 11:10 AM.

Details

Summary

Use a symlink to the README.md file in docs/

instead of cp it in the Makefile.

Fix dosctring of swh.indexer.storage

Test Plan

make -C docs html should not report any warning

Diff Detail

Repository
rDCIDX Metadata indexer
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

This revision is now accepted and ready to land.Nov 9 2018, 11:27 AM
ardumont added a subscriber: ardumont.

Thanks.

docs/README.md
1

So it worked apparently! Awesome!

swh/indexer/storage/__init__.py
97 ↗(On Diff #1982)

We use the imperative form.

149 ↗(On Diff #1982)

Why simple star here and double ones in the Args section?

douardda added inline comments.
docs/README.md
1

it works for me ©

swh/indexer/storage/__init__.py
149 ↗(On Diff #1982)

because I mistyped my regex 😄

douardda marked 2 inline comments as done.

Use bold for dict keys everywhere

douardda marked an inline comment as done.

Use imperative form in content_mimetype_missing()'s docstring

This revision was automatically updated to reflect the committed changes.