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

[Doc] Add more website docs for implemented metrics #1183

Closed
frank-zsy opened this issue Feb 9, 2023 · 5 comments
Closed

[Doc] Add more website docs for implemented metrics #1183

frank-zsy opened this issue Feb 9, 2023 · 5 comments
Labels
area/document Category issues or prs related to document. waiting for repliers need other's feedback

Comments

@frank-zsy
Copy link
Contributor

frank-zsy commented Feb 9, 2023

Description

As xiaoya opened the issue #1180 , and I add an example page in OpenDigger website for OpenRank index.

We can add more docs about the metrics and indices we implemented in OpenDigger. The page content should contain:

  • The badges about the type( Metric, Index or Network), from (X-lab, CHAOSS), for ( Repo, Developer)
  • The definition section for description
  • The code section to provide links
  • [Optional]The parameters section to show how the parameters are set for the exported data
  • CodePen demo section to provide a playground to show how to consume the data

All the CodePen demos are in the README file. We can embed them in the page directly with editable mode enabled.

@open-digger-bot open-digger-bot bot added the area/document Category issues or prs related to document. label Feb 9, 2023
@github-actions github-actions bot added the waiting for repliers need other's feedback label Feb 9, 2023
@open-digger-bot
Copy link
Contributor

This issue has not been replied for 24 hours, please pay attention to this issue: @gymgym1212 @xiaoya-yaya @xgdyp

@frank-zsy
Copy link
Contributor Author

I think we should modify the structure of the doc, CHAOSS metric docs could be used as reference.

  • The first section is badge, like type, from and for
  • The Description section about what the metric is about
  • Add an Objectives section to show what if the metric for and how to use it
  • Data section about how to retrieve the data and the data structure
  • Use Implementation section rather than Code to add details about the implementation like code, note and parameters
  • CodePen demo as a playground.

WDYT, @xiaoya-yaya @xgdyp

@xiaoya-yaya
Copy link
Member

Agreed. Should we apply this structure to all the metrics, each as an exclusive page?

@github-actions github-actions bot added waiting for author need issue author's feedback and removed waiting for repliers need other's feedback labels Feb 14, 2023
@frank-zsy
Copy link
Contributor Author

Agreed. Should we apply this structure to all the metrics, each as an exclusive page?

I think so, we could updated the exist pages first to see whether this is good enough, change structure when all the docs finished will be lots of work.

@frank-zsy
Copy link
Contributor Author

closed by X-lab2017/open-digger-website#11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/document Category issues or prs related to document. waiting for repliers need other's feedback
Projects
None yet
Development

No branches or pull requests

2 participants