delphix / virtualization-sdk

Delphix vSDK.
Apache License 2.0
7 stars 25 forks source link

DLPX-84378 Update docs package dependencies to latest version in virtualization-sdk #456

Closed SumoSourabh closed 1 year ago

SumoSourabh commented 1 year ago

Background

We are using a very old version of mkdocs and mkdocs-material. Also, there are 4 open PR to update the dependencies.

Problem

As we are using a very old versions of mkdocs and mkdocs-material, which has certain security risks.

Evaluation

The security concerns are caused due to old version of mkdocs.

Solution

  1. Update mkdocs 0.17.5 -> 1.4.2
  2. Update mkdocs-material 2.9.2 -> 9.0.6
  3. Update python from 3.7 -> 3.8
  4. Update absolute links to relative links as mkdpcs version > 1.0.0 does not support absolute links.
  5. Made some changes to UI look to incorporate some new features.

Important

  1. Please refer https://github.com/delphix/docs-masking on the reason to delete the fullmaterial folder. As the overrides are no more required to remove certain header and customising the CSS.
  2. Added delphix-brand.css which helps in keeping the color, logo size, admonition and tables as per the previous formats.
  3. PR that will be closed
  4. Also, merging the PR will remove 6 security concerns https://github.com/delphix/virtualization-sdk/security/dependabot for the repo.

Testing done

Bonus