docs(ocp): fixes for multi lang

This commit is contained in:
2025-09-06 17:02:36 -05:00
parent 301f0339c5
commit 2d7e0ab909
2 changed files with 28 additions and 32 deletions

View File

@@ -31,10 +31,10 @@ To correct these errors follow each error.
- for autoconsume items missing you will need to move materials, that are considered autoconsume to an autoconsume location.
- for manual materials you will need to
- [scan](/docs/ocp/materials#consuming-new-manual-material-via-scanner)
- [lst-consume](/docs/ocp/materials#consuming-new-manual-material-via-lst)
- [transfer-to-next](/docs/ocp/materials#tranfer-partial-estimated-quantity-to-the-next-lot)
- [Reprint and consume](/docs/ocp/materials#manual-return-and-consume)
- [scan](#consuming-new-manual-material-via-scanner)
- [lst-consume](#consuming-new-manual-material-via-lst)
- [transfer-to-next](#tranfer-partial-estimated-quantity-to-the-next-lot)
- [Reprint and consume](#manual-return-and-consume)
## Consuming new manual material via scanner.

View File

@@ -15,7 +15,7 @@ const config: Config = {
},
// Set the production url of your site here
url: "http://localhost:4200",
url: "http://localhost:3000",
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: "/lst/d/",
@@ -34,29 +34,20 @@ const config: Config = {
i18n: {
defaultLocale: "en",
locales: ["en", "es"],
// localeConfigs: {
// en: {
// label: "English",
// direction: "ltr",
// htmlLang: "en-US",
// calendar: "gregory",
// path: "en",
// },
// es: {
// label: "Español",
// direction: "ltr",
// htmlLang: "es-ES",
// calendar: "gregory",
// path: "es",
// },
// de: {
// label: "Deutsch",
// direction: "ltr",
// htmlLang: "de-DE",
// calendar: "gregory",
// path: "de",
// },
// },
localeConfigs: {
en: {
label: "English",
htmlLang: "en-US",
},
es: {
label: "Español",
htmlLang: "es-ES",
},
de: {
label: "Deutsch",
htmlLang: "de-DE",
},
},
},
presets: [
@@ -109,16 +100,21 @@ const config: Config = {
position: "left",
label: "Docs",
},
// {
// to: "/lst/app",
// label: "App",
// position: "right",
// },
// { to: "/blog", label: "Blog", position: "left" },
// {
// href: "https://github.com/facebook/docusaurus",
// label: "GitHub",
// position: "right",
// },
// {
// type: "localeDropdown",
// position: "right",
// },
{
type: "localeDropdown",
position: "right",
},
],
},
footer: {