Skip to content

Add a job to build the docs on CI#1107

Merged
datapythonista merged 21 commits intoairspeed-velocity:masterfrom
LucyJimenez:issue1063
Mar 10, 2022
Merged

Add a job to build the docs on CI#1107
datapythonista merged 21 commits intoairspeed-velocity:masterfrom
LucyJimenez:issue1063

Conversation

@LucyJimenez
Copy link
Contributor

@LucyJimenez LucyJimenez commented Mar 7, 2022

xref #1063
On this PR create a job for docs

@LucyJimenez LucyJimenez changed the title Add a job to build the docs on CI [WIP] Add a job to build the docs on CI Mar 7, 2022
@LucyJimenez LucyJimenez changed the title [WIP] Add a job to build the docs on CI Add a job to build the docs on CI Mar 7, 2022
@datapythonista
Copy link
Member

Did you check if the docs are being built correctly?

@LucyJimenez
Copy link
Contributor Author

LucyJimenez commented Mar 9, 2022

Did you check if the docs are being built correctly?

Yes, now it’s possible to create the HTML. I’m working on fixing the problems, and I’ll be listing the issues here.

  • asv/docs/source/manindex.rst:document isn't included in any toctree
  • asv/docs/source/benchmarks.rst:148:py:obj reference target not found: time.clock
  • asv/docs/source/using.rst:295:py:obj reference target not found: ^!
  • asv/docs/source/writing_benchmarks.rst:280:py:obj reference target not found: rounds
  • asv/docs/source/writing_benchmarks.rst:280:py:obj reference target not found: repeat
  • asv/docs/source/writing_benchmarks.rst:280:py:obj reference target not found: number

@LucyJimenez
Copy link
Contributor Author

@datapythonista The PR is ready for your review; thanks!

run: flake8 .

docs:
name: builds the documentation using Sphinx
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you can delete this row. The default docs is easier to read in my opinion.

- name: Install asv
run: pip install .

- name: build-command
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Build docs is probably a clear name


- ``timer``: The timing function to use, which can be any source of
monotonically increasing numbers, such as `time.clock`, `time.time`
monotonically increasing numbers, such as `time.time`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't make a lot of sense. Just leave both time.clock and time.time escaped with double backticks, as the rest of things in this section.


.. toctree::

manindex.rst
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to be a duplicate of reference, just remove the page instead of including it here.

<teardown `benchmark`>

where the actual `rounds`, `repeat`, and `number` are :doc:`attributes
where the actual :doc:`rounds <benchmarks>`, :doc:`repeat <benchmarks>`, and :doc:`number <benchmarks>` are :doc:`attributes
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No idea what this is supposed to do, but just use double backticks.

@LucyJimenez
Copy link
Contributor Author

@datapythonista, I included the last comments. The PR is ready for review. Thanks a lot!

Copy link
Member

@datapythonista datapythonista left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If having an xref in the description correct? Or should we have a close and let this automatically close the issue?

- name: flake8
run: flake8 .

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should review the diffs when you're done, and things like this shouldn't be introduced by mistake.

@datapythonista datapythonista merged commit 53bf9cb into airspeed-velocity:master Mar 10, 2022
@datapythonista
Copy link
Member

Thanks @LucyJimenez

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants