Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hipsparseltdocs reorg #101

Open
wants to merge 40 commits into
base: develop
Choose a base branch
from

Conversation

Rmalavally
Copy link

No description provided.

Copy link
Contributor

@randyh62 randyh62 left a comment

Choose a reason for hiding this comment

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

Hi Roopa, I am not sure I agree that ⁠hipSPARSELt data types are conceptual. It seems like that content is reference material.

The How to "Use hipSPARSELt" topic appears in the Index but does not appear in the TOC. Also, it seems to be more about how to port from CUDA instead of how to use hipSPARSELt?

Otherwise it looks fine to me.

@Rmalavally
Copy link
Author

Hi Roopa, I am not sure I agree that ⁠hipSPARSELt data types are conceptual. It seems like that content is reference material.

The How to "Use hipSPARSELt" topic appears in the Index but does not appear in the TOC. Also, it seems to be more about how to port from CUDA instead of how to use hipSPARSELt?

Otherwise it looks fine to me.

Thanks, Randy, for your feedback. I wondered about data types, but put it in conceptual. I think it must be a separate link, neither in conceptual nor in API Reference. But moved it to API for now. Please refresh and check. I had corrected the How to previously.

Copy link
Contributor

@randyh62 randyh62 left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks.

docs/index.rst Outdated

To contribute to the documentation refer to
`Contributing to ROCm <https://rocm.docs.amd.com/en/latest/contribute/contributing.html>`_.
* :doc:`Device stream manage <./conceptual/device-stream-manage>`
Copy link
Contributor

@LisaDelaney LisaDelaney Apr 1, 2024

Choose a reason for hiding this comment

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

Device & stream management??

Copy link
Contributor

Choose a reason for hiding this comment

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

(the title in the doc is "HIP device and stream management")

@LisaDelaney
Copy link
Contributor

There are linting issues that need to be fixed.

* :doc:`Quick-start <./install/quick-start>`
* :doc:`hipSPARSELt installation <./install/linux>`

.. grid-item-card:: API reference
Copy link
Contributor

Choose a reason for hiding this comment

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

this list is in a different order than in the toc

Copy link
Author

Choose a reason for hiding this comment

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

Here's what i have:

.. grid:: 2
:gutter: 3

.. grid-item-card:: Install

* :doc:`Quick-start <./install/quick-start>`
* :doc:`Installation guide <./install/linux>`

.. grid-item-card:: API reference

* :doc:`Supported functions <./reference/supported-functions>` 
* :doc:`Data type support <./conceptual/data-type-support>`
* :doc:`API library <../doxygen/html/index>`

.. grid-item-card:: How to

* :doc:`Port from CUDA to hipSPARSELt <./how to/porting>`

.. grid-item-card:: Conceptual

 * :doc:`HIP device and stream management <./conceptual/device-stream-manage>`
 * :doc:`Storage formats <./conceptual/storage-format>`

Copy link
Contributor

Choose a reason for hiding this comment

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

yes, I can see what you have in the file. The order of the API ref content differs from the order in the TOC.

Copy link
Author

Choose a reason for hiding this comment

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

yes, I can see what you have in the file. The order of the API ref content differs from the order in the TOC.

Same order in the .yml file. Rebuilt just now.

  • caption: Conceptual
    entries:

    • file: conceptual/device-stream-manage.rst
      title: HIP device & stream management
    • file: conceptual/storage-format.rst
      title: Storage formats
  • caption: How to
    entries:

    • file: how to/porting
      title: Port from CUDA to hipSPARSELt
  • caption: API Reference
    entries:

    • file: reference/supported-functions.rst
      title: Supported functions
    • file: conceptual/data-type-support.rst
      title: Data type support
    • file: doxygen/html/index
      title: API library

Copy link
Author

Choose a reason for hiding this comment

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

yes, I can see what you have in the file. The order of the API ref content differs from the order in the TOC.

Same order in the .yml file. Rebuilt again.

  • caption: Conceptual
    entries:

    • file: conceptual/device-stream-manage.rst
      title: HIP device & stream management
    • file: conceptual/storage-format.rst
      title: Storage formats
  • caption: How to
    entries:

    • file: how to/porting
      title: Port from CUDA to hipSPARSELt
  • caption: API Reference
    entries:

    • file: reference/supported-functions.rst
      title: Supported functions
    • file: conceptual/data-type-support.rst
      title: Data type support
    • file: doxygen/html/index
      title: API library

Copy link
Author

Choose a reason for hiding this comment

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

Copy link
Author

Choose a reason for hiding this comment

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

Copy link
Author

@Rmalavally Rmalavally Apr 1, 2024

Choose a reason for hiding this comment

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

Here's what index.rst looks like,

Install

Quick-start <./install/quick-start>
Installation guide <./install/linux>

API reference

Supported functions <./reference/supported-functions>
Data type support <./reference/data-type-support>
API library <../doxygen/html/index>

How to

Port from CUDA to hipSPARSELt <./how to/porting>

Conceptual

HIP device and stream management <./conceptual/device-stream-manage>
Storage formats <./conceptual/storage-format>

To contribute to the documentation, refer to Contributing to ROCm.

You can find licensing information on the Licensing page.

Copy link
Author

Choose a reason for hiding this comment

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

Data type support.rst was in both directories. Removed it from conceptual.

Copy link
Contributor

Choose a reason for hiding this comment

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

(you don't need to paste file contents into comments--I can easily see them within the files themselves)

@Rmalavally
Copy link
Author

There are linting issues that need to be fixed.

Yeah. Looking into the issues today.

@@ -5,7 +5,7 @@
.. _storage-format:

********************************
Storage format
Storage formats
Copy link
Contributor

Choose a reason for hiding this comment

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

if they only use one storage format (which they seem to), this should remain singular

Copy link
Author

Choose a reason for hiding this comment

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

The original yml file in develop has 'storage formats', so made changes in the latest version to reflect that.

https://github.com/Rmalavally/hipSPARSELt/blob/develop/docs/sphinx/_toc.yml.in

Singular makes sense.

Copy link
Author

Choose a reason for hiding this comment

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

The original yml file in develop has 'storage formats', so made changes in the latest version to reflect that.

https://github.com/Rmalavally/hipSPARSELt/blob/develop/docs/sphinx/_toc.yml.in

Singular makes sense.

  • file: reference/storage-format.rst
    title: Storage formats

Change Storage formats to Storage format
Change Storage formats to Storage format
@samjwu samjwu requested review from randyh62 and a team August 9, 2024 17:30
@samjwu samjwu added documentation Improvements or additions to documentation ci:docs-only Skip most non doc CI for this PR labels Aug 9, 2024
Copy link
Member

@samjwu samjwu left a comment

Choose a reason for hiding this comment

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

@ROCm/rocm-documentation please review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci:docs-only Skip most non doc CI for this PR documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants