Skip to content

Commit

Permalink
add typewritter (segmentio#228)
Browse files Browse the repository at this point in the history
* add typewritter

* fix a.js issues

* fix tracking and update catalog

* add updated styling

* fix email field

* start moving all tracking code from html to js files

* cleanup tracking

* fix scrollspy
  • Loading branch information
Xavier Agostini authored Nov 14, 2019
1 parent cb5c4ac commit 4987571
Show file tree
Hide file tree
Showing 33 changed files with 10,371 additions and 2,923 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ vendor
*.iml
node_modules/
src/assets/docs.bundle.js
# Make sure to update `analytics` to the full path to your Typewriter client.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ JEKYLL_ENV ?= development

.PHONY: dev
dev: node_modules vendor/bundle
@npx typewriter
@$(BIN)/concurrently --raw --kill-others -n webpack,jekyll \
"$(BIN)/webpack --mode=development --watch" \
"bundle exec jekyll serve --force_polling --trace --incremental -H 0.0.0.0 -V"
Expand All @@ -17,6 +18,7 @@ intialize-work-dir:

.PHONY: build
build: node_modules vendor/bundle
@npx typewriter
@chown -R jekyll /workdir
@$(BIN)/webpack --mode=production
@JEKYLL_ENV=${JEKYLL_ENV} bundle exec jekyll build
Expand Down
Loading

0 comments on commit 4987571

Please sign in to comment.