-
Notifications
You must be signed in to change notification settings - Fork 19
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
Using or merging 'blog' and 'docs' templates together #29
Comments
I think I would go for 1 or 3. 3 Would be work, but relatively simple work, for someone more familiar with Laravel, so if you are up for it, it would definitely be a good learning experience and produce the best final output. 1 Would be the simplest option, but as you said, you don't want it. 2 Is certainly possible but multiple apps cross building and deploying (even if you were to use symlinks) makes me nervous. Sounds like a recipe for complicated and error-prone bash scripts, sym links, etc. That's just my gut take though. |
@anthonyterrell @damiani @mattstauffer Great answer, Matt, thanks for your view. I guess what I am asking is your guys opinion on such a work? The reason I ask, it that I was originally working with Docusaurus, a very nice package, and it offers both a blog and documentation in the same repo/site, something I suspect is very attractive for a lot of folks. (Okay, well, me anyway, lol!) I decided to switch to Jigsaw because as a video developer who doesn't do web professionally, the whole Tailwind/Jigsaw environment vs React just seemed easier to grok and work with. Well, I would certainly be interesting in ideas or feedback on what the team & maintainers think about the idea. If I put something together, I will share some links, and see what you guys think of the result. |
I used a recursive diff tool (Araxis) to compare my v1.0.4 'docs' against the v1.0.4 'blog' and, like you say, Matt, it seems quite doable, although there is a fair bit of work. The largest logistical question would be what to do about Algolia vs Fuse/Vue. Of course, you guys may have no interest in a merged blog/docs, which is okay too, |
Here is a list of options to Algolia I wouldn't say I have fully checked out everything, but the free up to 2000 documents offering from SearchIQ looks interesting. |
I think a merged one is pretty interesting. I'd agree that algolia makes sense and allowing the blog to go un-indexed. |
Okay, guys, I am going to take a stab at merging docs and blog, I understand if it isn't right for Tighten, but I think it's the best path forward for my project, but I will keep checking with you guys for input and ideas to end up with something to show you, to see if you think it is interesting for Tighten. Here is the first thing I would like to ask for some help on: Here is what I know: That will be my main tool for checking success on merging as I go through file by file. I am wondering if you guys have any other suggestions or ideas as I embark on this? |
I have a questions about using 'blog' and 'docs' templates together
I would like to create a site that has both the 'blog' and 'docs' templates,
and it seems there are a few basic approaches.
Use the repos as-is to create two sites that run on seperate sub-domains. A reasonable approach, except I don't want different sub-domains.
Keep the repos as two separate sites, and tweak the build of, say 'docs' somehow (how?) so that it builds to a subfolder, ie '/docs' and hack the header and footer of both sites to be the same, so there is no continuity issues when you move between 'docs' and 'blog'.
In this case you would really have two sets of html/css/etc from build output.
Merge the repos using careful, careful diffing, editing and merging of common files, and working out how to bring the two templates together, so rather than building two templates and joining the html/css, you have a single template, and actually get a single site output file-set.
This seems the least hack-ish, but possibly the most difficult.
I don't have much Php/Laravel/Jigsaw experience (but it's growing), so would some of the maintainers like to weigh-in on the pros and cons and issues of approaches number two and three? Thank you.
Also, do the maintainers think there is a benefit/need to having a single template containing both 'docs' and 'blog', or is the preference to have them stay seperate?
Thank you
The text was updated successfully, but these errors were encountered: