docs(ocp): fixes for multi lang
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user