Skip to content

Merge repo Cytnx_doc into this repo #587

@IvanaGyro

Description

@IvanaGyro

I suggest keeping the document as close as the code so that the developers can keep the document aligned with the code easily. A case shows that putting the document and the code in the same repo benefits. Considering we are going to change dependency A to dependency B and also want to keep the document correct enough at any moment, we have to do three steps when the document and the code are located in different repos:

  1. Added B as a dependency in the document (A is still the dependency, so we cannot remove A from the document here.)
  2. Switch dependency A to dependency B in the codebase
  3. Removed dependency A from the document

It's worth to mention it is not possible to make the document aligned with the codebase at each moment when dependency A conflicts with dependency B in this case.

By merging the document repo into this repo, we can easily make the document aligned with the code over time. We only need one step, even one commit, to finish the job that needs three steps above while the document and the code are located in different repos. PyTorch also put their doc and code in the same repo.

Here is the steps for merging two git repos: https://stackoverflow.com/questions/1425892/how-do-you-merge-two-git-repositories

Steps:

Metadata

Metadata

Labels

Top priorityThe Issue that has top priority

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions