Skip to content
This repository has been archived by the owner on Dec 17, 2018. It is now read-only.

Build examples-page as well #60

Open
tommueller opened this issue Jul 26, 2017 · 9 comments
Open

Build examples-page as well #60

tommueller opened this issue Jul 26, 2017 · 9 comments
Milestone

Comments

@tommueller
Copy link
Contributor

Hi,

I use the examples-page quite heavily for documenting the use of the components withing the library created with angular-librarian. I would love to be able to publish a compiled version of the examples page with the project, so that people who want to look up how to use a certain component do not necessarily clone the source and run the library locally.

Maybe there could be an additional command ngl build-examples which outputs the compiled examples-page to some extra folder?

Cheers!
Tom

@gonzofish
Copy link
Owner

I originally had the examples build with the package, but I wanted to follow the Angular Package Format, which didn't have that included--I wonder what could be used instead...perhaps gh-pages?

@gonzofish gonzofish added this to the Version 1.1 milestone Aug 2, 2017
@tommueller
Copy link
Contributor Author

I saw the comment that this was supposed to be working now, using the -x flag. I do not find any changes in the output of the build project afterwards. Can you maybe give some info on this?

@gonzofish
Copy link
Owner

Ah, the --example/-x option is only for generating components/services/etc. to your examples directory, it doesn't change the library output yet.

@tommueller
Copy link
Contributor Author

Nothing is added to my examples folder if I run ngl build -x

@gonzofish
Copy link
Owner

gonzofish commented Aug 9, 2017

There isn't an -x option for ngl build, per the documentation.

Like I said in my last comment, --examples/-x are only for generating the following:

@tommueller
Copy link
Contributor Author

Ah, well I think the vacation did some minor damage to my brains, got it, sorry ...

@tommueller
Copy link
Contributor Author

I have been quite silent lately, but that is just because using angular-librarian is working like a breeze for our projects!

This is the only feature I am really missing! Maybe this could be done anytime soon? 🥇

@gonzofish
Copy link
Owner

Glad it's working for you--I'm trying to catch back up (had some family emergencies over the past month)

@tommueller
Copy link
Contributor Author

Great thanks! Hope everything is alright!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants