sweepai-dev / hamilton

A scalable general purpose micro-framework for defining dataflows. You can use it to build dataframes, numpy matrices, python objects, ML models, LLM workflows, etc. Embed Hamilton anywhere python runs, e.g. spark, airflow, jupyter, fastapi, python scripts, etc. Comes with lineage out of the box.
https://hamilton.dagworks.io/en/latest/
BSD 3-Clause Clear License
0 stars 0 forks source link

Sweep: Documentation - Rename subheaders #2

Open wwzeng1 opened 1 year ago

wwzeng1 commented 1 year ago

The documentation for the Reference section was recently refactored. Now, the Reference section has the subheaders:

I believe shortening these subheaders by removing the _ Reference from each one could increase readability.

Use the index.rst under each one to do so, ex docs/reference/graph-adapters/index.rst

sweep-ai[bot] commented 1 year ago

Here's the PR! https://github.com/sweepai-dev/hamilton/pull/11.

💎 Sweep Pro: I used GPT-4 to create this ticket. You have 104 GPT-4 tickets left.


Step 1: 🔍 Code Search

I found the following snippets in your repository. I will now analyze these snippets and come up with a plan.

Some code snippets I looked at (click to expand). If some file is missing from here, you can mention the path in the ticket description. https://github.com/sweepai-dev/hamilton/blob/06ebcbfdfa6df51c30472315796fa16bc36ffbfd/docs/how-tos/index.rst#L1-L22 https://github.com/sweepai-dev/hamilton/blob/06ebcbfdfa6df51c30472315796fa16bc36ffbfd/docs/unorganized-docs/index.rst#L1-L11 https://github.com/sweepai-dev/hamilton/blob/06ebcbfdfa6df51c30472315796fa16bc36ffbfd/docs/getting-started/index.rst#L1-L30 https://github.com/sweepai-dev/hamilton/blob/06ebcbfdfa6df51c30472315796fa16bc36ffbfd/docs/reference/api-extensions/index.rst#L1-L16 https://github.com/sweepai-dev/hamilton/blob/06ebcbfdfa6df51c30472315796fa16bc36ffbfd/docs/reference/miscellaneous/index.rst#L1-L15

Step 2: 🧐 Snippet Analysis

From looking through the relevant snippets, I decided to make the following modifications:

File Path Proposed Changes
docs/reference/decorators/index.rst Change the title from Decorator Reference to Decorators.
docs/reference/drivers/index.rst Change the title from Driver Reference to Drivers.
docs/reference/graph-adapters/index.rst Change the title from GraphAdapter Reference to GraphAdapters.
docs/reference/result-builders/index.rst Change the title from ResultBuilder Reference to ResultBuilders.

Step 3: 📝 Planning

I have created a plan for writing the pull request. I am now working my plan and coding the required changes to address this issue. Here is the planned pull request:

Documentation: Rename subheaders in Reference section sweep/rename-subheaders

Description

This PR addresses issue #2 by renaming the subheaders in the Reference section of the documentation. The subheaders Decorator Reference, Driver Reference, GraphAdapter Reference, and ResultBuilder Reference have been shortened to Decorators, Drivers, GraphAdapters, and ResultBuilders, respectively. This change improves readability and reduces redundancy in the documentation.

Summary of Changes

  • Modified index.rst file under docs/reference/decorators:
    • Changed subheader title from Decorator Reference to Decorators.
  • Modified index.rst file under docs/reference/drivers:
    • Changed subheader title from Driver Reference to Drivers.
  • Modified index.rst file under docs/reference/graph-adapters:
    • Changed subheader title from GraphAdapter Reference to GraphAdapters.
  • Modified index.rst file under docs/reference/result-builders:
    • Changed subheader title from ResultBuilder Reference to ResultBuilders.

Step 4: ⌨️ Coding

I have finished coding the issue. I am now reviewing it for completeness.


Step 5: 🔁 Code Review

Success! 🚀


I'm a bot that handles simple bugs and feature requests but I might make mistakes. Please be kind! Join Our Discord