Comments (10)
To resolve this you'd need to edit the value of site.asciidoctor.attributes.imagesdir
and site.asciidoctor.attributes.includedir
in the _config.yml
file.
For links, I guess you'd need to replace every instance of <</some/path,...>>
with <</asciidocsy-jekyll-theme/some/path,...>>
. These (xrefs) are a pretty significant limit, but I have ways of making them far more powerful (see #66).
The manifest.yml
file is the other place these are defined. I think this issue is the same across SSGs, including all AsciiDoc SSGs, as we don't have docinfo for all the other pages at the time of build. My framework coming out later this year addresses this, but for now, and as the lowest common denominator for this theme, I am relying on static xrefs and menus driven by static data.
from asciidocsy-jekyll-theme.
Sean from what I can see you have not modified the baseurl
property in _config.yml
, though I thought you said you had? I'm looking at https://github.com/capsulecorplab/asciidocsy-jekyll-theme/blob/main/_config.yml -- I would expect to see baseurl: asciidocsy-jekyll-theme
in the build, so the browser will know where to find assets.
I am able to reproduce and fix this locally as such, but it for some reasons requires a trailing slash on the base URL. I have sniffed around a little and not discovered a way to address this issue without controling your webserver (as you obviously don't with GH Pages).
I think this doesn't really resolve your main problem, though, which is that you want to skip the landing page. Unfortunately, the AsciiDocsy Docs/Demo site itself has URLs hard-coded all over the place that use the domain-root reference /some/path
-- all the permalinks are written that way, so the docs site itself won't serve the way you want it to unless you rewrite those.
That said, if you make your own site with your own permalinks and xrefs, this will still work. You just have to include your baseurl in your paths.
from asciidocsy-jekyll-theme.
@briandominick Just pushed a commit with the baseurl
set to asciidocsy-jekyll-theme
, but it's still having issues properly rendering the page
I don't mind dealing with a landing page for now, just not sure how to debug this rendering issue.
from asciidocsy-jekyll-theme.
Sorry I forgot to tell you to prepend the slash:
baseurl: /asciidocsy-jekyll-theme
from asciidocsy-jekyll-theme.
@briandominick that did the trick! https://capsulecorplab.github.io/asciidocsy-jekyll-theme/
from asciidocsy-jekyll-theme.
Closing issue, since I'd consider this resolved!
from asciidocsy-jekyll-theme.
I spoke too soon. Some of the links and assets aren't recognizing the baseurl, s.a, the Documentation link
from asciidocsy-jekyll-theme.
Yeah like I said those links are hard coded. The demo site is only supposed to serve at a domain root, but you can write your links differently.
Which assets are still broken. Images inside content?
from asciidocsy-jekyll-theme.
I haven't checked every page, but here are a few of the assets that were missing
from asciidocsy-jekyll-theme.
How should one go about writing the links differently, such that the baseurl becomes part of the links?
from asciidocsy-jekyll-theme.
Related Issues (20)
- Add labels to button-based handler controls
- Print-friendly button not working HOT 1
- Option for redirecting landing page to docs/ HOT 3
- How to adjust site footer height HOT 1
- removing Gemfile.lock from .gitignore HOT 3
- Algolia logo/link missing from search forms
- Publish theme in a GitHub release HOT 1
- Stop Asciidoctor from appending `.html` to xrefs
- New repo/structure for AsciiDocsy docs deployment once theme is gem?
- Generate xref attributes for all topics in manifest HOT 1
- Ensure accessibility (a11y) of entire theme
- move "Changes so far" to a CHANGELOG
- Table of content path: manifest.yml? HOT 4
- Git info variable HOT 4
- Enable organizing of subject nav by (definable) topic type HOT 2
- Upgrading to 0.3.0 redirects to same page HOT 1
- Releases page redirects to 404 HOT 3
- Add `tm` inline semantic (role)
- Relocate files between repos
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 asciidocsy-jekyll-theme.