-
Notifications
You must be signed in to change notification settings - Fork 37
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
Add docs site #7
Comments
I will be happy to work on the documentation site, port the samples over and create new samples for this. Do you know when you are going to publish a nuget package or should the samples reference |
I'm going to try to get it done this week. I just need to figure out the github actions fu 😄 |
Packages are currently available here https://f.feedz.io/davidfowl/featherhttp/nuget/index.json. I'm going to make a github pages site for it. |
@davidfowl I thought I was going crazy - but it seems that the packages didn't upload? Let me know if I'm missing something please
|
Add the -pre flag to list per-release packages (it might have another flag name) |
@dodyg how do you want to go about this? Do we come up with a TOC (table of contents) we like and go from there? |
Yes. I think we should split the content into three categories:
This is what I can come up so far while trying to juggle cooking for Christmas dinner for 12 :) |
This approach assumes that the people who will be trying/using Feather will have some experience with ASP.NET Core. The question is whether we should accommodate people that just starting up doing web development and try to attract them to use this much simpler approach to ASP.NET Core. |
@dodyg I'd like to participate in this as much as I can, I'm playing around with creating a little site to display these tutorials in the style of the go site that @davidfowl mentioned: https://github.com/RobotOptimist/learn-httpfeather I'm using Nuxt and plan to use the static file generator for the web resources. Wondering if I should go ahead and register a domain or if you and David already have something in mind. I'm doing this because I want to deeply learn about what David has done here, so maybe I'd be doing this anyway - but given I have a chance to help with a need here, I'd just love to do it. Thanks |
This is awesome. Let's figure out a broad outline on how these tutorials should go and their target audiences. @RobotOptimist if you have something in mind, please post them. I am approaching this as an experienced ASP.NET Core so I am interested in contrast. Right now I am taking public notes, writing samples and making mistakes on Feather on this thread https://twitter.com/dodyg/status/1211745022263083008 as I am learning more how to operate within this framework. I do believe though that Feather can be a very useful entry point for people new to ASP.NET Core. The boilerplates and concepts that a newcomer need to learn in order to start is less than the standard ASP.NET Core. |
I think we want to aim at both audiences but we shouldn't assume people know ASP.NET Core, or even C#. I think there are 2 kinds of docs:
I like the micro examples because its task based and shows you how to get started doing specific tasks immediately (copy pasta friendly). The former is fine but much less important right now. |
OK let's start with the absolute beginners. We will need to write "Getting Started" tutorial:
Then introduce them to the basics:
Data:
How to pair it with JavaScript frameworks
Application Framework:
|
@davidfowl where do you want the samples and documentation to be contributed to? Should we just do pull requests to this repository or should it be on another repository? |
Well, I've spun up a site and set up continuous deploys to netlify using the previously mentioned repository: The repository has pages ready to receive the examples in pages/examples where you would put your html inside of If it's more comfortable, I can also install a markdown parser plugin so we can write the example code in markdown. To run it, you download the repo and then and then Ideally, I'd like to use feather HTTP to do this, so I'll be thinking about how to switch it over to that. Maybe do the vue example this way? 😀 |
If you do a static export docs website, I think GH Pages is a good idea? |
I was thinking gh pages as well. |
No problem, I'll switch it to GH Pages |
Okay, got it done here: https://robotoptimist.github.io/learn-httpfeather/ |
Automated documentation workflow is up. I've got the first version of Getting Started on the home page also. I've also created a repository for a dotnet project template and included instructions for people to clone that repo and use that template. |
@RobotOptimist it might makes sense to move the docs site to this repo as well. I have to look at turning on ghpages and setting up a domain/cname. |
@davidfowl I understand, let me know what you need. |
#22 Also, I've been thinking a lot about how to describe this project in terms of the motivation to create it, how we imagine it being consumed. I've been thinking of some questions for you.
I'm enthusiastic about this library because I see it as a fun entry point for new people. What do you think? |
Great work but Honestly, as David said, I would also love to hear more about the ‘why’ the framework is needed specially since .NET Core was designed to be low ceremony to begin with. |
The reason I made this library was to experiment with a more imperative pattern that removed some of the ceremony around Program.cs and Startup.cs. How fast can we put you in a place where you’re writing relevant code (middleware, routing etc). A big part of that was removing callbacks and exposing things as properties. The other things like looking at the amount of concepts exposed host, host builder, sever, application to understand how overwhelming that is compared to other stacks (express, go, django etc) |
Few thoughts;
IMO, what is needed here is a docs repo, preferably featherhttp/docs In the beginning we can simply link to the docs in that repo from the main repo readme. A HTTP site can be built on top of this which uses the same md files but converts it to html and hosts it. something like gitbook/jekyll can be used to run this docs toolchain. This is how some of my favorite languages handle documentation. ref: https://github.com/crystal-lang/crystal-book I would not recommend starting directly on the site, as it would limit community contribution to the docs. |
@davidfowl just checking - what help do you need to get the docs site up for this? |
There should be a documentation site focused on scenarios similar to this https://gowebexamples.com/.
I'm also thinking about integrating samples from https://github.com/dodyg/practical-aspnetcore.
cc @dodyg
The text was updated successfully, but these errors were encountered: