dash-docs icon indicating copy to clipboard operation
dash-docs copied to clipboard

fix inconsistent code

Open wesleyacheng opened this issue 4 years ago • 0 comments

Post-merge checklist:

The master branch is auto-deployed to dash.plotly.com. Once you have merged your PR, wait 5-10 minutes and check dash.plotly.com to verify that your changes have been made.

  • [x] I understand

If this PR documents a new feature of Dash:

  • [ ] Comment on the original Dash issue with a link to the new docs.
  • [ ] Reply to any community thread(s) asking for this feature.

If this PR includes a new dataset available at a remote URL:

  • [ ] I have added this dataset to the datasets/ folder
  • [ ] I have added a mapping between the remote URL and the filename in the datasets/ folder into the find_and_replace dict in dash_docs/tools.py

If this PR adds an image or animated GIF:

  • [ ] This image was saved and referenced locally rather than via an external link

If I introduced a new relative link inside dcc.Markdown:

  • [ ] I considered whether I could replace the dcc.Markdown call with rc.Markdown, which will replace relative links with tools.relpath internally. Otherwise, I used e.g. <dccLink href=tools.relpath('/layout') children="the first chapter"/> instead of [the first chapter](/layout) (importing tools from dash_docs), and set dangerously_allow_html=true in the dcc.Markdown call.

If I changed the chapter_index by removing or relocating a page:

  • [ ] I added a redirect in dash_docs/server.py from the old URL to the new URL

wesleyacheng avatar Jul 17 '21 04:07 wesleyacheng