Mbed-TLS / mbedtls-docs

Version-independent documentation for Mbed TLS
Apache License 2.0
21 stars 28 forks source link

Move kb article to match old website layout #41

Closed bensze01 closed 2 years ago

bensze01 commented 2 years ago

The old website listed controlling_package_size under kb/how-to/.

gilles-peskine-arm commented 2 years ago

I just happened to notice this one, but I didn't make systematic checks. Did you check if there were other misplaced files? Or are you waiting until everything is re-created to do a check on all old working URLs (which you'd get a list of… somehow)?

bensze01 commented 2 years ago

The KBs are all in the right place (the ones that were ported in the docs repo anyhow). I still need to move the security advisories to the correct places.

I'm using the list of files from yuto_static branch of the old website repo (you need to remove the .html extension to get the actual URL the files were served under).

If you check out the yuto_static branch from the old website repo you can use the following command to check for discrepencies:

diff --color=auto -u <(cd <old website repo, yuto_static branch>/htdocs && find kb* -type f | sort) <(cd <mbedtls-docs repo> && find kb -type f | sed 's/\(\/index\)\?\.md/.html/' | sort)