Skip to content

Commit

Permalink
log languages
Browse files Browse the repository at this point in the history
  • Loading branch information
RealRichi3 committed May 24, 2024
1 parent 7b34c9d commit 26e9fbc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/fixes/fix_rtl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,17 @@ async function processHtmlFile(filePath: string, cssContent: string) {

export async function fixAndStyleArabicHtmlFiles() {
if (!CONFIG.languages.includes("ar")) {
console.log({
config: CONFIG,
});
logger.info("Arabic language not found in the list of languages");
return;
}

const directoryForHtmlFiles = path.join(CONFIG.outputDirectory, `_book/ar/`);
const directoryForHtmlFiles = path.join(
CONFIG.outputDirectory,
`_book/ar/`,
);
const cssFilePath = path.join(__dirname, "/rtl.css");

// Read the CSS file
Expand Down

0 comments on commit 26e9fbc

Please sign in to comment.