diff --git a/.gitignore b/.gitignore index 4a6ecced..a4a171fe 100644 --- a/.gitignore +++ b/.gitignore @@ -27,6 +27,9 @@ /docs/**/readme.md /static/sb-alg-list.json /docs/trustmark/*.md +/docs/trustmark/c2pa/*.md +/docs/trustmark/js/*.md +/docs/trustmark/python/*.md # Misc .DS_Store diff --git a/docs/trustmark-faq.mdx b/docs/trustmark-faq.mdx index 4cb36671..09b896ab 100644 --- a/docs/trustmark-faq.mdx +++ b/docs/trustmark-faq.mdx @@ -47,6 +47,6 @@ hide_table_of_contents: true - [Is TrustMark compatible with blockchain technology?](#is-trustmark-compatible-with-blockchain-technology) - [Can TrustMark be used for NFT provenance?](#can-trustmark-be-used-for-nft-provenance) -import Faq from './trustmark/faq.md'; +import Faq from './trustmark/FAQ.md'; diff --git a/docs/trustmark/c2pa/.gitkeep b/docs/trustmark/c2pa/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/docs/trustmark/js/.gitkeep b/docs/trustmark/js/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/docs/trustmark/python/.gitkeep b/docs/trustmark/python/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/scripts/fetch-readme.js b/scripts/fetch-readme.js index 7f2d3bc2..a3583b1e 100644 --- a/scripts/fetch-readme.js +++ b/scripts/fetch-readme.js @@ -196,27 +196,27 @@ const readmes = [ }, // TrustMark { - dest: resolve(__dirname, '../docs/trustmark/readme.md'), + dest: resolve(__dirname, '../docs/trustmark/README.md'), repo: 'adobe/trustmark', path: 'README.md', }, { - dest: resolve(__dirname, '../docs/trustmark/config.md'), + dest: resolve(__dirname, '../docs/trustmark/python/CONFIG.md'), repo: 'adobe/trustmark', - path: 'CONFIG.md', + path: 'python/CONFIG.md', }, { - dest: resolve(__dirname, '../docs/trustmark/faq.md'), + dest: resolve(__dirname, '../docs/trustmark/FAQ.md'), repo: 'adobe/trustmark', path: 'FAQ.md', }, { - dest: resolve(__dirname, '../docs/trustmark/python-readme.md'), + dest: resolve(__dirname, '../docs/trustmark/c2pa/README.md'), repo: 'adobe/trustmark', - path: 'python/README.md', + path: 'c2pa/README.md', }, { - dest: resolve(__dirname, '../docs/trustmark/js-readme.md'), + dest: resolve(__dirname, '../docs/trustmark/js/README.md'), repo: 'adobe/trustmark', path: 'js/README.md', }, diff --git a/sidebars.js b/sidebars.js index bf2382ab..dd0e10f4 100644 --- a/sidebars.js +++ b/sidebars.js @@ -277,14 +277,19 @@ const sidebars = { items: [ { type: 'doc', - id: 'trustmark/readme', + id: 'trustmark/README', label: 'Overview', }, { type: 'doc', - id: 'trustmark/config', + id: 'trustmark/python/CONFIG', label: 'Configuration', }, + { + type: 'doc', + id: 'trustmark/c2pa/README', + label: 'Using with C2PA', + }, { type: 'doc', id: 'tm-faq', @@ -292,7 +297,7 @@ const sidebars = { }, { type: 'doc', - id: 'trustmark/js-readme', + id: 'trustmark/js/README', label: 'JavaScript example', }, {