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 autoconsume items missing you will need to move materials, that are considered autoconsume to an autoconsume location.
- for manual materials you will need to - for manual materials you will need to
- [scan](/docs/ocp/materials#consuming-new-manual-material-via-scanner) - [scan](#consuming-new-manual-material-via-scanner)
- [lst-consume](/docs/ocp/materials#consuming-new-manual-material-via-lst) - [lst-consume](#consuming-new-manual-material-via-lst)
- [transfer-to-next](/docs/ocp/materials#tranfer-partial-estimated-quantity-to-the-next-lot) - [transfer-to-next](#tranfer-partial-estimated-quantity-to-the-next-lot)
- [Reprint and consume](/docs/ocp/materials#manual-return-and-consume) - [Reprint and consume](#manual-return-and-consume)
## Consuming new manual material via scanner. ## Consuming new manual material via scanner.

View File

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