mdn / yari

The platform code behind MDN Web Docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

yari's toolbar does not exist "Open in your editor" , "View on MDN", "Edith on Github"

Byron2016 opened this issue · comments

Summary

I use:

  • OS: windows 10 V22H2 (compilation 19045.4170)
  • wsl
  • Node: v20.11.1
  • npm: 10.2.4
  • yarn: 1.22.22

yari´s toolbar does not exist

"Open in your editor" , "View on MDN", "Edith on Github"

prototype

URL

http://localhost:3000/es/docs/Web/JavaScript/Inheritance_and_the_prototype_chain
http://localhost:5042/es/docs/Web/JavaScript/Inheritance_and_the_prototype_chain

Reproduction steps

  1. git clone https://github.com/Byron2016/translated-content.git --depth=1
  2. git clone https://github.com/Byron2016/content.git --depth=1
  3. cd content && yarn
  4. git clone https://github.com/Byron2016/yari.git --depth=1
  5. cd yari && git fetch && git pull
  6. yarn
  7. yarn dev

Expected behavior

image

Actual behavior

prototype

Device

Desktop

Browser

Chrome

Browser version

Stable

Operating system

Windows

Screenshot

image

image

Anything else?

No response

Validations

Hi @Byron2016, thanks for taking the time to open this issue. 👋

You'll need to set REACT_APP_WRITER_MODE=true in your .env to enable the writer's tools, including the toolbar.

See: https://github.com/mdn/yari/blob/main/docs/envvars.md#react_app_writer_mode

I'm closing this issue as "won't fix", but please let us know if that setting doesn't work for you.