Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Mike Holler
    @mike.holler_gitlab

    Ah, okay. I thought the page- prefix was automatically added to attributes, but I misread the docs. This worked:

    asciidoc:
      attributes:
        custom: "some text"
        page-custom: "some other text"

    page-custom shows in the attributes, but custom does not. I do wonder if it's possible to access custom via .hbs, but for now I have something to work with.

    Mike Holler
    @mike.holler_gitlab
    After getting this to work and switching to something different, I believe I may have found a legitimate bug after 50 minutes of troubleshooting. I'd appreciate if people could weigh in: antora/antora#483
    David Jencks
    @djencks_gitlab
    @mike.holler_gitlab custom isn't going to work. A few days ago @mojavelinux was talking about having site.data for non-asciidoc related attributes. He mentioned an issue for discussion but I can't find any such issue.
    :point_up: September 17, 2019 11:43 AM
    Dan Allen
    @mojavelinux
    it does work. page attributes have to be prefixed with page.

    I do wonder if it's possible to access custom via .hbs

    no, that's by design. AsciiDoc has tons of attributes, built-in or otherwise, that would bloat the UI model if we passed them all through (and potentially be a memory issue)

    so adding the page- prefix makes a clean distinction
    as @djencks_gitlab said, the site.data area in the playbook would provide a cleaner way to pass through information without having to qualify it
    I haven't filed the issue yet
    Dan Allen
    @mojavelinux
    @mike.holler_gitlab there are two separate things going on with the "Edit the Page" link. the first is whether git host is supported or whether a custom pattern is needed.
    that won't help you if it's private. the default UI hides the Edit the Page link if the repo is private. you'll need to customize that in your own UI (or supplemental UI) if you want different behavior. see https://gitlab.com/antora/antora-ui-default/blob/master/src/partials/toolbar.hbs#L8
    the general agreement has been that it shouldn't show for private repos since that makes no sense on a public site.
    Mike Holler
    @mike.holler_gitlab
    @mojavelinux yeah, as @Deep-Symmetry linked me in the issue I created, it looks like the host is the primary issue. I was already prepared to modify the UI. This is what I'd need to accomplish what I'm interested in: antora/antora#292
    Dan Allen
    @mojavelinux
    if we change it, then people who want it will wonder why it shows up. which is why it makes sense that it is controlled by the UI, because then you can change it
    perfect
    we'll get that edit URL pattern done soon
    it's a top issue for sure
    Mike Holler
    @mike.holler_gitlab
    Thanks, I noticed you moved it into some v2.x release hopper pretty recently, glad to know it's getting attention :)
    Dan Allen
    @mojavelinux
    in my mind, it's slated for the upcoming 2.2. I still haven't had a meeting yet with Sarah to confirm that, since she's the master of the roadmap ;)
    but i'll announce when that is firmed up
    Hugh MacLeod
    @misterquetoo
    @riyashdeenr Okay fellow Joe Average I have successfully mildly modified the Antora UI and I am now creating documents using adoc on my local machine. A few successes go a long way. Long live Antora.
    Dan Allen
    @mojavelinux
    yeehah!!
    Dan Allen
    @mojavelinux
    For the first time in forever, I got a proper desk, an adjustable standing desk. trying it out for the first time. feeling great so far. this is definitely going to help keep things moving (both physically and technically). that shouder injury was a real scare, so I needed to do something
    it even comes with a balance board. I was skeptical it would be something I could use, but wow! it ain't no joke.
    Dan Allen
    @mojavelinux
    Josh McDonald
    @sophistifunk
    I'd use my standing desk in its upright position all the time if it didn't make my monitors wobble so damned much.
    My typing is too vigorous I guess. But I love my cherry MXs
    If I ever own my own home tho, I'll kit my office out right, with some sort of wall-mounted monitor getup that can raise and lower with the desk.
    Or, put a whole in the floor with a quickly-removable lid :)
    Josh McDonald
    @sophistifunk
    *hole
    Dan Allen
    @mojavelinux
    you really have to try one of these uplift desks sometime then. they are so stable it's incredible. i tried a bunch of others first and they were very unstable. but this is a whole other ballgame.
    but even if you don't stand, just the fact that you can move the surface up and down in a seated position means that you can correct a strain before it starts getting to you
    PanaDel
    @PanaDel_gitlab

    @PanaDel_gitlab very likely you are using the image URL that requires authentication. There's usually also a public URL that you can use that won't require that the visitor be authenticated.

    @mojavelinux Could you help me with that? I fail to find how this link is supposed to look like

    Dan Allen
    @mojavelinux
    I don't know what service you're using. Usually on the screen that gives you the badge, it will say whether it is public or not. You could also use https://shields.io/ to make one.
    I will be out starting in a few hours for the global climate strike. See you again on Saturday!
    PanaDel
    @PanaDel_gitlab
    Thnks for the tip. This link comes from Gitlab under: https://repo.COMPANY.com/TEAM/PRODUCT/commits/master essentially when you go to repository root site > repository >commits
    Dan Allen
    @mojavelinux
    you'll have to check the GitLab docs to see if they make the CI badge public even if the repo is not. Sometimes, you can make the CI results public and that, in turn, make the badge public. But I would consult with GitLab about that.
    Mike Holler
    @mike.holler_gitlab

    Nice standing desk @mojavelinux! I got a Jarvis a few years ago and haven't looked back (https://www.fully.com/standing-desks/jarvis.html). Balance board is new to me though. I've got one of these, which I really love and helps me keep a dynamic posture (price is oddly high for some foam though): https://www.amazon.com/Ergodriven-Not-Flat-Anti-Fatigue-Calculated-Must-Have/dp/B00V3TO9EK

    What's this balance board you've got?

    Mike Holler
    @mike.holler_gitlab
    At the risk of sounding too product-placementy this thing has completely fixed my terrible mouse posture and I highly recommend it. It's basically impossible to accidentally get wrist strain using one: https://www.amazon.com/Anker-Wireless-Vertical-Ergonomic-Optical/dp/B00BIFNTMC
    KLynn2019
    @KLynn2019
    @mike.holler_gitlab I have that exact mouse and it has made a world of difference.
    Mike Holler
    @mike.holler_gitlab
    @KLynn2019 right? They're so cheap, too. I started a trend in the office. About half of everyone uses them.
    James Elliott
    @brunchboy
    Why on earth do they make you plug a receiver into a USB port, though? Bluetooth has been around for a minute.
    TBH, if I have to plug something in a port, I would rather have a wire, and not need to put batteries in the mouse.
    Mike Holler
    @mike.holler_gitlab
    I really don't love Bluetooth peripherals. I'm glad it's a dongle.
    Mike Holler
    @mike.holler_gitlab
    Other companies do make Bluetooth ones if that's your jam.
    They're called "vertical mice" if you're looking for a search term.
    Dan Allen
    @mojavelinux
    I'm back. Wow, what a day!
    @mike.holler_gitlab yes, it's the e7 motion board (without the padded top). There's nothing particularly special about it (other than it's well made). it just my first experience with such a board and it really surprised me. I always though I would have to concentrate on standing, making it hard to work. but you literally don't even think about it.
    Jarvis was my second choice. I agonized over the decision. but the Uplift was scoring higher in stability (probably because it's deeper) so I decided to go with it. definitely no regrets.
    once I'm all set up, I might share a picture