Skip to content

Add an examples layout.#27605

Merged
XhmikosR merged 4 commits intov4-devfrom
v4-dev-xmr-examples-layout
Nov 9, 2018
Merged

Add an examples layout.#27605
XhmikosR merged 4 commits intov4-devfrom
v4-dev-xmr-examples-layout

Conversation

@XhmikosR
Copy link
Member

@XhmikosR XhmikosR commented Nov 5, 2018

I know in the past we wanted people to get the files from the repo and use them, but this situation results in too much duplication and also cases where things can break.

This should make everything safer and cleaner.

Also, I removed unused JS assets and only include the ones each example needs. We might be able to drop more JS files if they are not used in some examples like in the Cover example where no JS is needed.

Check the non-whitespace diff

TODO:

  • Load our assets with the Jekyll variables and not relative to the files
  • See if we can make indentation proper

@XhmikosR XhmikosR requested a review from a team as a code owner November 5, 2018 11:27
@XhmikosR XhmikosR force-pushed the v4-dev-xmr-examples-layout branch from b0d6ca0 to 97680a3 Compare November 5, 2018 11:27
@XhmikosR XhmikosR force-pushed the v4-dev-xmr-examples-layout branch from 97680a3 to 171b8ec Compare November 5, 2018 11:31
Copy link
Member

@mdo mdo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't review line-by-line, but I'm in favor! Curious at what point we offer a separate download or built HTML files in our dist directory, but hopefully that can wait :).

@XhmikosR
Copy link
Member Author

XhmikosR commented Nov 5, 2018

I'm gonna finish this soon-ish, confirm all is good and then merge :)

@XhmikosR XhmikosR force-pushed the v4-dev-xmr-examples-layout branch from 68d5c9c to 3ba3d2e Compare November 9, 2018 09:53
@XhmikosR XhmikosR force-pushed the v4-dev-xmr-examples-layout branch from 3ba3d2e to 64b8ef1 Compare November 9, 2018 11:36
@XhmikosR XhmikosR merged commit bbe2b23 into v4-dev Nov 9, 2018
@XhmikosR XhmikosR deleted the v4-dev-xmr-examples-layout branch November 9, 2018 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants