Comments (4)
It is primarily a rendering issue since we put all backquoted text inside these mini-code rectangles. This doesn't leave much space when you have multiple lines with backquotes on top of each other. We could get rid of the rectangles or increase the line height. Either of those would help with readability.
I'll take a look into what other people do for their docs.
from icerpc-docs.
I added back quotes for port numbers to be consistent with the use of <c>
in our C# API documentation. I agree it's not a good idea as it's less readable.
I also added back quotes for few C# type names. I would always use back quotes for API type names or language keywords.
In #33, for text such as "on the Compress interceptor, and then finally the Compress interceptor", instead of adding backquotes to Compress (a type that doesn't exist in our C# API), I've changed Compress to compress. I would not use the PascalCase naming convention here since we aren't referring to a C# API.
One remaining debatable use of back quote is in this text: "An invoker implementation can call invoke
on another invoker, which itself calls invoke
on another invoker, etc.;". We use back quotes for "invoke" which isn't really a method name that exists. And we don't use InvokeAsync
for a good reason, our documentation shouldn't be tied to a specific language mapping. Should we keep the back quote for "invoke"? I think I would drop them or rephrase the sentence to not refer to a method.
from icerpc-docs.
"An invoker implementation can call invoke on another invoker, which itself calls invoke on another invoker, etc.;"
I think "calls invoke on another invoker" sounds odd. I would say that it just "calls on another invoker"
We could write:
"An invoker implementation can call on another invoker, which itself can call on another invoker, etc.;
from icerpc-docs.
Just for note, I committed a minor tweak to the css that should make backquoted text more readable: 4c14206
from icerpc-docs.
Related Issues (20)
- Search Box Popup Slice Selectors Unreadable in Dark Mode
- Partial Desynchronization of Slice mode When Using Search Selectors
- Dismissing the search box scrolls to the bottom of the page on Safari HOT 2
- Reading Times are not Computed Correctly for Slice1-only Pages HOT 1
- Anchors Don't Work on Slice1-only Pages HOT 3
- Document Protobuf support
- Add Protobuf syntax highlighting HOT 2
- Broken links to examples
- Add Protobuf tutorial
- Add Protobuf variant to Quickstart HOT 1
- Slice & Protobuf on Getting started page HOT 2
- Add front matter to disable navigation (Next / Previous)
- Ctrl+K search box missing from landing page
- Update docs to use SliceService attribute HOT 1
- Don't use code and API link
- Add version to API reference links
- Add Documentation for `Result` HOT 1
- Add Documentation for Enums with Fields HOT 1
- New "view examples" button is buggy
- Add Inter font to OpenGraph image generation
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 icerpc-docs.