Skip to content

Conversation

@SvetlanaMuravlova
Copy link
Contributor

fix(articles): fixed images in adoc articles

@github-actions
Copy link
Contributor

github-actions bot commented Jun 27, 2022

Visit the preview URL for this PR (updated for commit bd8dcb8):

https://valor-software-site--pr89-fixed-adoc-img-se47lm4x.web.app

(expires Thu, 30 Jun 2022 14:38:09 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

const extension = path.extname(file.name).split('.')[1];
if ( extension === 'adoc') {
const content = await fs.readFile(`${articlesFolderPath}/${folder.name}/${file.name}`, 'utf8');
let content = await fs.readFile(`${articlesFolderPath}/${folder.name}/${file.name}`, 'utf8');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks as not obvious solution

Copy link
Member

@valorkin valorkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there are should be a better solution

@valorkin valorkin merged commit 73ae379 into development Jun 28, 2022
@valorkin valorkin deleted the fixed-adoc-img branch June 28, 2022 16:35
@KseniaKoniayeva KseniaKoniayeva linked an issue Jul 4, 2022 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Convert articles into adoc extension

2 participants