Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instructions to build/test the documentation. #2

Open
ghost opened this issue Jan 8, 2024 · 1 comment
Open

Instructions to build/test the documentation. #2

ghost opened this issue Jan 8, 2024 · 1 comment

Comments

@ghost
Copy link

ghost commented Jan 8, 2024

Setup mdbook

  • Install rust and cargo
  • Install mdbook via cargo install mdbook
  • Add /.cargo/bin to $PATH

Preview the docs

git clone --recursive https://github.com/OpenBangla/manual.git && cd manual
mdbook serve obk-docs (For the English version)
mdbook serve obk-docs-bn (For the Bangla version

After that, goto http://localhost:3000/ in a browser

@ghost ghost self-assigned this Jan 8, 2024
@ghost
Copy link
Author

ghost commented Jan 11, 2024

For anyone having Bangla font issues in VSCode/VSCodium

Install the Noto Sans Bengali fonts from your distro repos if you're using VSC native or inside of a toolbox/distrobox container.
I am still finding a solution for the Flatpak versions.
Edit : Install Bangla language packs on your host system for Flatpaks to work too.

After that, set VSC to use the noto sans bengali font by putting the following in your settings.json file

{
    "editor.fontLigatures": true,
    "editor.fontFamily": "'Droid Sans Mono', 'monospace','Noto Sans Bengali'"
}

You can also optionally just add 'Noto Sans Bengali' to Settings > Text Editor > Fonts like the following

Screenshot from 2024-01-11 14-22-12

(It is an extremely weird issue, as no other App, whether native, inside of a toolbox, or flatpak, in my system has any issues whatsoever properly displaying Bangla)
Edit: I used to always check Bangla language support to enabled in the Fedora installer, recently had to do a reinstall and forgot to check that box, in Fedora, installing the "langpacks-bn" package suffices, even though noto sans bengali fonts were installed on my system by default on a vanilla install.

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

No branches or pull requests

0 participants