This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
BRANCH=`git rev-parse --abbrev-ref HEAD` | |
if [[ "$BRANCH" == "master" ]]; then | |
echo "Call grunt docs to update style guide" | |
cd build | |
echo $($pwd) | |
grunt docs | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'bundler/setup' | |
require 'fileutils' | |
def copy_compiled_css_to_docs(version) | |
Dir.glob('./css/dist/**/*.css').each do |file| | |
dir, filename = File.dirname(file).sub('./',''), File.basename(file) | |
dest = File.join('docs/src/v'+version+'/hydra', dir) | |
FileUtils.mkdir_p(dest) | |
FileUtils.cp(file, File.join(dest,filename)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var size = { | |
width: window.innerWidth || document.body.clientWidth, | |
height: window.innerHeight || document.body.clientHeight | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<FlexGrid limitWidth gutter={false}> | |
<FlexGrid.Col span={12}> | |
<Box horizontal={3}> | |
<Paragraph>{text}</Paragraph> | |
</Box> | |
</FlexGrid.Col> | |
<FlexGrid.Col span={columns}> | |
<Box horizontal={3} vertical={3}> | |
<Card>{text}</Card> |
OlderNewer