From 4293f65dfa576d31ad43d03ea5eebc9f622585d5 Mon Sep 17 00:00:00 2001 From: Tianhan Lu Date: Mon, 9 Oct 2023 09:37:11 -0600 Subject: [PATCH 1/5] Update sidebars.js --- documentation/website/sidebars.js | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/documentation/website/sidebars.js b/documentation/website/sidebars.js index 50f6a20cafa..e2a8771261e 100644 --- a/documentation/website/sidebars.js +++ b/documentation/website/sidebars.js @@ -105,13 +105,16 @@ module.exports = { ], }, { - 'User Docs': [ - 'pysa-false-positives-negatives', - 'pysa-explore', - 'pysa-coverage', - 'pysa-tips', - 'fb/pysa-cache', - ], + 'User Docs', + ...fbContent({ + internal: ['fb/pysa-cache'], + external: [ + 'pysa-false-positives-negatives', + 'pysa-explore', + 'pysa-coverage', + 'pysa-tips' + ], + }) }, 'static-analysis-post-processor', ...fbContent({ From 8f17af427c740e49233b409b2d04d29a57307dd3 Mon Sep 17 00:00:00 2001 From: Tianhan Lu Date: Mon, 9 Oct 2023 09:41:27 -0600 Subject: [PATCH 2/5] Update sidebars.js --- documentation/website/sidebars.js | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/documentation/website/sidebars.js b/documentation/website/sidebars.js index e2a8771261e..05cf80003d8 100644 --- a/documentation/website/sidebars.js +++ b/documentation/website/sidebars.js @@ -104,18 +104,16 @@ module.exports = { 'pysa-model-dsl', ], }, - { - 'User Docs', - ...fbContent({ - internal: ['fb/pysa-cache'], - external: [ - 'pysa-false-positives-negatives', - 'pysa-explore', - 'pysa-coverage', - 'pysa-tips' - ], - }) - }, + 'User Docs', + ...fbContent({ + internal: ['fb/pysa-cache'], + external: [ + 'pysa-false-positives-negatives', + 'pysa-explore', + 'pysa-coverage', + 'pysa-tips' + ], + }), 'static-analysis-post-processor', ...fbContent({ internal: [ From 12ce1d5c2171078c1dbd83584767f6e91d62005e Mon Sep 17 00:00:00 2001 From: Tianhan Lu Date: Mon, 9 Oct 2023 09:47:07 -0600 Subject: [PATCH 3/5] Update sidebars.js --- documentation/website/sidebars.js | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/documentation/website/sidebars.js b/documentation/website/sidebars.js index 05cf80003d8..1a967d35c15 100644 --- a/documentation/website/sidebars.js +++ b/documentation/website/sidebars.js @@ -104,14 +104,21 @@ module.exports = { 'pysa-model-dsl', ], }, - 'User Docs', - ...fbContent({ - internal: ['fb/pysa-cache'], + ...fbContent({ + internal: [ + { + 'User Docs': ['fb/pysa-cache'] + } + ], external: [ - 'pysa-false-positives-negatives', - 'pysa-explore', - 'pysa-coverage', - 'pysa-tips' + { + 'User Docs': [ + 'pysa-false-positives-negatives', + 'pysa-explore', + 'pysa-coverage', + 'pysa-tips' + ] + } ], }), 'static-analysis-post-processor', From 42d223d27ba305f79dc6be1475edc36189930f7d Mon Sep 17 00:00:00 2001 From: Tianhan Lu Date: Mon, 9 Oct 2023 10:53:15 -0600 Subject: [PATCH 4/5] Update sidebars.js --- documentation/website/sidebars.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/documentation/website/sidebars.js b/documentation/website/sidebars.js index 1a967d35c15..d1c363f5b53 100644 --- a/documentation/website/sidebars.js +++ b/documentation/website/sidebars.js @@ -107,7 +107,13 @@ module.exports = { ...fbContent({ internal: [ { - 'User Docs': ['fb/pysa-cache'] + 'User Docs': [ + 'pysa-false-positives-negatives', + 'pysa-explore', + 'pysa-coverage', + 'pysa-tips', + 'fb/pysa-cache' + ] } ], external: [ From f7b250d21110d11d41948f51b05f4c5f9cc3e278 Mon Sep 17 00:00:00 2001 From: Tianhan Lu Date: Mon, 9 Oct 2023 10:58:31 -0600 Subject: [PATCH 5/5] Update sidebars.js --- documentation/website/sidebars.js | 36 ++++++++++++------------------- 1 file changed, 14 insertions(+), 22 deletions(-) diff --git a/documentation/website/sidebars.js b/documentation/website/sidebars.js index d1c363f5b53..8679ba8fe1c 100644 --- a/documentation/website/sidebars.js +++ b/documentation/website/sidebars.js @@ -104,29 +104,21 @@ module.exports = { 'pysa-model-dsl', ], }, - ...fbContent({ - internal: [ - { - 'User Docs': [ - 'pysa-false-positives-negatives', - 'pysa-explore', - 'pysa-coverage', - 'pysa-tips', - 'fb/pysa-cache' - ] - } - ], - external: [ - { - 'User Docs': [ - 'pysa-false-positives-negatives', - 'pysa-explore', - 'pysa-coverage', - 'pysa-tips' - ] - } + { + type: 'category', + label: 'User Docs', + link: { + type: 'generated-index', + }, + collapsed: false, + items: [ + 'pysa-false-positives-negatives', + 'pysa-explore', + 'pysa-coverage', + 'pysa-tips', + ...fbInternalOnly(['fb/pysa-cache']), ], - }), + }, 'static-analysis-post-processor', ...fbContent({ internal: [