Repository navigation
feat(1secure): rename to 1Secure AI Security and keep it off production - #1851
Conversation
Adds a devOnly product flag. products.js leaves devOnly products out of PRODUCTS when APP_EXTERNAL_URL is the production host (docs.netwrix.com), so the beta is built on docs-dev and locally but gets no plugin, routes, or pages on production, even though its files merge to main in the daily sync. Remove the flag to release the product. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Renames the product ID, folder, sidebar, and name to 1secureaisecurity / 1Secure AI Security. The URL is now /docs/1secureaisecurity. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Documentation PR ReviewEditorial Reviewdocs/1secureaisecurity/index.md No issues found. The new page keeps the same structure and wording as the placeholder it replaces, with the product name updated to Netwrix 1Secure AI Security in the title, description, heading, and body. The docs/1securebeta/index.md No issues found. This PR deletes the file and adds no lines to it. Summary0 editorial suggestions across 2 files. Vale and Dale issues are auto-fixed separately. What to do next: Comment
You can ask Claude anything about the review or about Netwrix writing standards.
|
Auto-Fix Summary0 issues fixed, 0 skipped across 2 files Ask |
Code ReviewNo correctness issues found. What I checked:
|
Auto-Fix Summary0 issues fixed, 0 skipped across 2 files Ask |
Summary
Follow-up to #1850 with two changes.
1. Rename. The product is called 1Secure AI Security, so the ID, folder, sidebar, and URL change from
1securebetato1secureaisecurity(/docs/1secureaisecurity). The beta page only existed on docs-dev briefly, so there is no redirect.2. Keep it off production. The daily dev → main sync is a plain merge, so the unlisted product would reach docs.netwrix.com at the next sync. This adds a
devOnlyproduct flag:products.jsleavesdevOnlyproducts out ofPRODUCTSwhenAPP_EXTERNAL_URLis the production host (the sameisIndexableSitechecknoIndexuses). No plugin, routes, or pages are built for them on production.1secureaisecurityis flaggeddevOnly: true. To release it, remove the flag.mainwith the rest ofdev, as before. They are public on GitHub either way; this keeps them off the production site.Test plan
node --test src/config/products.test.mjs(added totest:scripts): production host drops the product; docs-dev, localhost, and an unset URL keep itAPP_EXTERNAL_URL=https://docs.netwrix.com DOCS_PRODUCT=1secure npm run build: nodocs/1secureaisecurityoutput, and no mention inrobots.txtorsitemap.xmlAPP_EXTERNAL_URL=https://docs-dev.netwrix.com DOCS_PRODUCT=1secureaisecurity npm run build: builds, pages arenoindex, nofollowMerge before the next sync (16:00 UTC) so the product never reaches production.
🤖 Generated with Claude Code