The entire site loads as an PWA, without refreshing
which feels more modern. It uses XHR in the backend
to fetch the pages.
Signed-off-by: black-dragon74 <niryadav@redhat.com>
This patch makes #733 more usable and it updates the address
of the current URL to the current anchor that you are reading at.
Like, mysite/mychapter#mysectiom, using which, sharing the links
will lead to the same place on the page that the user 1 was reading at.
Signed-off-by: black-dragon74 <niryadav@redhat.com>
This patch also removes the obsolete fix-docs.js. That
file depends of jQuery and we no longer use that. That file was also
the cause of the console errors on current docs site.
After this patch, users will be able to press C or Y(ank) to copy
current address along with anchors to the clipboard. This feature is just
an extension of multiple exisiting shortcuts like F/P/N.
Another patch is in the works which would update current address so that
current anchor is in the addressbar. That would make this patch more useful as
you will be able to copy the adress of the location that you are currently reading
in the doc and resume later or maybe share to someone. Cool, right?
Signed-off-by: black-dragon74 <niryadav@redhat.com>
This patch adds a back to top button in the top center
which only appears if the user tries to scroll up by a few
pixels.
Signed-off-by: black-dragon74 <niryadav@redhat.com>
* [QOL] Hide 'Copy To Clipboard' button on non-code blocks
Sitewide there are multiple code blocks that do not contain
any code in them. But still a `Copy code to clipboard` button
is shown, this patch addresses this issue. It is a QOL improvement
that makes distinguishing code blocks visually easier.
To use this new feature, we need to start our code block like:
```{ .language_name .no-copy }
...
...
...
```
Where language_name is something that can vary (console in our case mostly).
The .no-copy attribute is what disables the function on that particular block.
Signed-off-by: black-dragon74 <niryadav@redhat.com>
* [getting-started] Multiple improvements and cleaner syntax
This is a first of many patches that'll follow for subsequent sections sitewide
which moves OLD md syntax to NEW one and also address any other semantics that come
into notice.
Signed-off-by: black-dragon74 <niryadav@redhat.com>
* Properly annotate code blocks
Signed-off-by: black-dragon74 <niryadav@redhat.com>
* Fix code formatter errors
Signed-off-by: black-dragon74 <niryadav@redhat.com>
Initial theme(light/dark) is detected automatically based on
the user's system theme. Also, added the gluster favicon.
Signed-off-by: black-dragon74 <niryadav@redhat.com>
* doc: update docs for volume options
There are around 340+ options. I have included the most used,
enabled by default, majorly affects the volumes or have been
facing issues recently. The 1st patch deals with prefix 'cluster.'
options. If I have missed any imp option please highlight or any
unnecessary options is added.
Owning to the huge list I move forward by creating a seperate md
file for vol options. More commits to follow. Just divided to make
review easy and quick.
Updates: #617
Signed-off-by: Sheetal Pamecha <spamecha@redhat.com>
* Update doc according to Conscious Language
* updating registries and files replacing space and underscore with dash
* Change more paths and file names to use dash instead of underscore
* Add hook scripts, bug reporting and generic upgrade guides to TOC
Co-authored-by: adityaramteke <adityaramteke05icr@gmail.com>
The Release notes section of the menu has a heading
for each release which can be expanded to see the
different release versions available for that release.
Also updated the release notes with the links to
available builds.
Credits: Saju Mohammed Noohu
Signed-off-by: Rinku Kothiya <rkothiya@redhat.com>