-
Notifications
You must be signed in to change notification settings - Fork 39
isolate the module and docs #186
Comments
If we want to release the npm module or write script, may need docs content. https://github.com/electron/i18n/blob/master/lib/apis.js |
but even if we are to publish the module, will we be publishing all the content as well? |
just json file |
or load content from master branch (master branch - docs (en + translated)) |
the problem that shall persist is about cloning the whole repo with translated content every time? |
|
@maddhruv can you describe in more detail what is difficult about this process? |
Whenever I clone or fetch the repo |
Yes there are many files, but that is the nature of a project like this. I don't see how breaking things up into separate branches would solve the problem, as the code that builds the module will need to access all the content, and you can't be on two branches at once. They should live together. The module content that gets published to npm, however, is a different story. The published npm module will need to be able to access the content in some structured format like JSON or LevelDB, but the original markdown files and the JavaScript code used to build the module can be omitted from the npm package using and |
can't we do both the things separate as
|
It's not an issue anymore, because we're using Crowdin. Should be closed |
The concern I want to raise here is about isolating the module/script that we use for collecting the node versions docs and the translated docs into two different branches
Why?
It is very difficult to clone/pull all these translated file/docs every time, which is an unnecessary flow if one wants to write some scripts/module
The text was updated successfully, but these errors were encountered: