Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix baseHref, refactor config and build #385

Merged
merged 1 commit into from
Aug 9, 2016
Merged

Conversation

levithomason
Copy link
Member

@levithomason levithomason commented Aug 9, 2016

The base href on the doc site was recently updated. In local dev, the anchor links are broken as they resolve to absolute urls. This PR addresses that.

In the way of this was some config/build cleanup and simplification.

#
# 'npm run clean' runs rm -rf on all lines in this file.
#

Copy link
Member Author

Choose a reason for hiding this comment

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

cruft

@codecov-io
Copy link

codecov-io commented Aug 9, 2016

Current coverage is 93.23% (diff: 100%)

Merging #385 into master will not change coverage

@@             master       #385   diff @@
==========================================
  Files            64         64          
  Lines           872        872          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits            813        813          
  Misses           59         59          
  Partials          0          0          

Powered by Codecov. Last update e1c248f...18ac375

compiler_lint: argv.lint !== false,
compiler_quiet: false,
compiler_output_path: paths.base(config.dir_docs_dist),
compiler_public_path: __BASE__,
compiler_public_path: __BASE__ || '/',
Copy link
Member Author

Choose a reason for hiding this comment

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

Removed the /config directory and 5 files of complexity in favor of 4 lines of conditionals in a single file. This caught duplicates and unused config as well.

@dvdzkwsk
Copy link
Member

dvdzkwsk commented Aug 9, 2016

👻

@levithomason levithomason merged commit c35da43 into master Aug 9, 2016
@levithomason levithomason deleted the chore/build-cleanup branch August 9, 2016 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants