Comments (10)
The problem here has turned out to be that the images aren't making their way to the live site deployment. I'll focus now on the docfx/AppVeyor config and see why these aren't making their way over.
@floreseken In case you're wondering why/how simple links became a problem: This site is a one-off affair. The site has been built outside of our normal doc system, as Blazor is an experimental preview. Therefore, I've been learning how to put one together from scratch ... learning the hard way. 😅
from blazor.docs.
I'll keep you sharp ;-)
from blazor.docs.
Yes ... "sharp" ... and add to that "humbled" ... it's a bit humbling when after so many years in web dev I can't get a simple image to show up on a webpage! 🤦♂️ 😄 lol
I'll get it in a sec. I think I know what to change. If these emails will stop hitting me every 15 seconds, I should be able to get it done in a couple of minutes. 😅
from blazor.docs.
ok ... that little hack-a-roo seems fine for now ...
http://blazor.net/docs/tutorials/build-your-first-blazor-app.html
@danroth27 If that's the way we should go (GH raw user content links), we can just keep doing that if you want. I'm curious about the cause of the problem. I've used GH Pages once before, but my setup is a bit different, so I can't make a direct comparison between sites.
from blazor.docs.
I'm fine with this. I like the idea of keeping images out of the repo. Git isn't great for storing binary files. To keep things organized we might want to create specific issues in this repo with the images we add are storing on GitHub.
from blazor.docs.
keeping images out of the repo
Me, too. I ❤️ Azure CDN for static bits.
create specific issues in this repo with the images we add are storing on GitHub.
I don't quite follow ...... I probably need a 2nd cup of ☕ lol
from blazor.docs.
Oh, sorry, I misunderstood what you did here. I thought you were doing something like this: http://blog.davidebbo.com/2014/11/using-issues-for-github-pages-screenshots.html 😄
from blazor.docs.
He makes good points, but I think his reasoning can be countered under our circumstances ...
- I don't think it's a major drop in productivity for us. We're only using images (usually) in tutorial topics. The vast majority of the content is reference material, and we seek to avoid images in reference material. The end result is that we hardly have enough images to sweat a major change to the workflow.
- History is a factor. It would be really painful with our workload to stop and go back and retool to a new strategy (for aspnet/Docs & dotnet/Docs). There would also be APEX issues/approvals to address (phone calls ... meetings ... emails ... testing ... omg ... it could take weeks/months ... decades! lol).
- Next, there's the problem of changing the links out when the doc set moves. Those links would be a real pain to change over (e.g.,
https://cloud.githubusercontent.com/assets/556238/5241760/e17ae9f4-78d9-11e4-86f5-6e168adcea87.png
). For example, we're usinghttps://raw.githubusercontent.com/aspnet/Blazor.Docs/gh-pages/docs/tutorials/build-your-first-blazor-app/_static/new-aspnet-core-project.png
. These GH raw content links preserve path/file name ... very easy to mod that for the move tobuild-your-first-blazor-app/_static/new-aspnet-core-project.png
. - Even when we use them in reference topics, the images are right there. It's not a major loss in productivity imo to link them out of a folder sitting right next to the topic ... and yes, I think we do want the full history for the images we use.
- Finally, there's the issue of MORE ISSUES lying around 😨. Things are going to be very interesting when the reader feedback hits the main repos. Even more issues?? May the 🙏 server gods 🙏 save us! lol
The GH user content raw links pretty much do what he's is suggesting in terms of allowing the GH cloud to maintain them, while allowing us to easily conform on a move to aspnet/Docs. I think this will be stable and work well for now.
from blazor.docs.
Sure 😃
from blazor.docs.
Fixed by #65
Thanks again @floreseken! 🚀
from blazor.docs.
Related Issues (20)
- Translate documentation to [pt-br] HOT 2
- Update JS interop to document appropriate use of IJSRuntime with server-side Blazor HOT 1
- Add new sample (Blazor Paint)
- 404 on Get Started :( HOT 1
- Request for new entry in Book section HOT 6
- Add the TabSet example in sample app
- Update Blazor hosting models topic for 0.7.0
- Update Host and deploy for 0.7.0 HOT 1
- Component input validation HOT 5
- Add the doc for bind-property-event syntax HOT 4
- Explain the difference between for and foreach loop in context of lambda expression HOT 4
- Add new sample (Blazor Excel) HOT 11
- Add new sample and library (WebSocket)
- Add section about what is and how to create dynamic components HOT 4
- Broken API link
- Getting started with Blazor - documentation incorrect HOT 3
- Razor Components + EF Core HOT 1
- Redirects
- "What is Blazor" link is broken
- Redirection to newer getting started tutorial HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blazor.docs.