bem-archive / bem-www Goto Github PK
View Code? Open in Web Editor NEWbem.info source code
License: MIT License
bem.info source code
License: MIT License
Нужно сделать:
bemjson
для страниц с документацией из .bem/make.js
в отдельный слой 2bemjson.js
, разложив логику генерации по блокамbemhtml
) для генерации bemjson
bundles-desktop/inner/inner.server.js
для генерации html страниц документацииХочется иметь возможность получить готовые для продакшена файлы отдельно от исходников.
bem make install
должен собирать финальные файлы в папку build/
, при необходимости учитывая это в относительных путях в файлах.
Среди исходников могут располагаться файлы, которые не ложатся в БЭМ-термины: robots.txt
, opensearch.xml
и т.п., которые должны попасть в build/
.
На внутренних страницах нужен переключатель языка English / Русский, как на морде.
На сайте: http://bem.info/tools/bem/commands/
Create bemdecl.js file from page's bemjson
bem build
-l bem-bl/blocks-common -l bem-bl/blocks-desktop
-l blocks -l pages/index/blocks
-d pages/index/index.bemjson.js -t bemdecl.js
-o pages/index -n indexYou can use either tech's name or a path to its module as a value of -t flag. This module says how to build a final file from a declaration.
bemdecl.js
создается через bem create -l [level] -b [block] -T bemdecl.js
sorry if dup.
We need to create tools index page with description about tools we provide in open source.
Format:
Section
Tool (link to internal page or to githubpage)
Description
Tool (link to internal page or to githubpage)
Description
Section
Tool (link to internal page or to githubpage)
Description
Our tools:
/tools/
/tools/bem/ — content from ((https://github.com/bem/bem-tools bem))
Сейчас на морде между предложениями нет отступа, они реализованы как анонимные div. Надо сделать p и задать отступ.
в разделе Инструменты->Шаблонизаторы->BEMHTML. Причем дубликат кидает 404
English content here:
http://ru.bem-www.arikon.dev.bem.info/method/history/
bemhtml-intro
bemhtml-rationale
bemhtml-reference
Схема языков в URL такая:
bem.info/* — English
ru.bem.info/* — Русский
ANY.bem.info/* — перенаправление на bem.info
В разработке так:
anydir.user.dev.bem.info/* — English
ru.anydir.user.dev.bem.info/* — Русский
ANY.anydir.user.dev.bem.info/* — перенаправление на anydir.user.dev.bem.info
Сейчас структура сайта (и навигационного меню) описана в .bem/make.js
, там же генерируется bemjson
для меню текущей страницы.
Нужно:
bemhtml
или priv.js
)Добавить логотипы компаний, использующих БЭМ в сайдбар.
Move production site to separate 'www' account on bem.info machine.
Страница http://ru.bem.info/method/definitions/ Опечатки:
Я склонировал этот репозиторий, чтобы поправить и прислать pull request, но с помощью грепа я не нашел этой статьи в коде этого репозитория.
Сейчас шаблон (внутренней) страницы описан в .bem/make.js
. bemjson.js
для каждой страницы (в том числе языковые версии) генерируется в .bem/make.js
.
Нужно:
bemhtml
или priv.js
)Увеличиваем на внутренних страницах логотип и даём ему больше воздуха вокруг.
Обрати внимание, что я сейчас сделал выравнивание контента внутренней страницы по левой границе с меню, это должно остаться.
Сейчас bem server
может собирать страницы сайта по урлам, соответствующим файлам на диске.
Нужна возможность уметь собирать конкретные файлы по продакшен урлам.
cc @tadatuta
Сейчас robots.txt есть для разработческих копий, но нет для продакшена. Надо узнать у Вовы, как сдеать через конфиги для продакшена и сделать.
Добавить октокота со ссылкой на github.com/bem на все внутренние страницы.
Сейчас в pages/index-{en,ru}
лежит статический bemjson.js
, в котором:
Нужно:
.md
/ .wiki
файлыCurrently font size is small, try to increase it.
At the tech modules page the link at the bottom (bem-tools/lib/techs/) is broken — it have the nodejs
branch name in the path, but there is no such branch now. Should it be master
there then?
Add CSS file for syntax highlighting on content pages.
Following the install instructions from the README.md I get the following error:
HTTP error 500
TypeError: Arguments to path.resolve must be strings
at Object.exports.resolve (path.js:313:15)
at registry.decl.createBlocksLevelsNodes (/Users/jeremy/Documents/projects/bem-info/node_modules/bem/lib/nodes/seed.js:105:39)
at makePromise.apply (/Users/jeremy/Documents/projects/bem-info/node_modules/bem/node_modules/qq/node_modules/q/q.js:436:27)
at makePromise.promise.promiseSend (/Users/jeremy/Documents/projects/bem-info/node_modules/bem/node_modules/qq/node_modules/q/q.js:264:41)
at /Users/jeremy/Documents/projects/bem-info/node_modules/bem/node_modules/qq/node_modules/q/q.js:680:28
From previous event:
at /Users/jeremy/Documents/projects/bem-info/node_modules/bem/node_modules/q/q.js:1054:16
at Object.module.exports.INHERIT.withLock (/Users/jeremy/Documents/projects/bem-info/node_modules/bem/node_modules/apw/lib/arch.js:77:18)
at registry.decl.make (/Users/jeremy/Documents/projects/bem-info/node_modules/bem/lib/nodes/seed.js:30:30)
at /Users/jeremy/Documents/projects/bem-info/node_modules/bem/node_modules/q/q.js:1036:28
I'm a bit lost on how to move forward here, if anyone could help that would be great!
Сейчас для каждой страницы сайта собирается свой бандл (статика, шаблоны).
Нужно собирать отдельные бандлы для каждого типа страниц, и использовать эти бандлы для всех страниц одного типа.
Это сэкономит трафик пользователю (js, css) и ускорит сборку сайта.
.description__link { overflow:hidden }
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.