4,690 questions
0
votes
0
answers
24
views
Docsearch Typesense scraper only finds records on Docusaurus landing page
Problem
I’m using Docusaurus with Typesense and the docsearch-typesense-scraper to index my documentation site.
Everything runs fine — the sitemap is found, and the scraper produces records.
However, ...
0
votes
0
answers
21
views
Library's global styles overriding scoped CSS layers
I am working on a Vue 3 project using SCSS and it's using Histoire to document its components. I just stumbled upon an irritating problem: the project uses layers on all classes to separate ui ...
0
votes
0
answers
33
views
How to show a single version dropdown per product in Docusaurus multi-product documentation?
I’m building documentation for multiple products on a single Docusaurus 3 website. Each product has its own versions, and I want users to be able to select a product first, then optionally select a ...
2
votes
1
answer
69
views
Why doesn’t Xcode show documentation for class initializers when creating an object in Swift?
I’m working with Swift and I’ve documented my class initializers using ///.
However, when I create an object with let obj = MyClass(...), the documentation does not appear when I Option-Click the ...
0
votes
0
answers
33
views
SAML attribute for SaaS apps
I am working with Single Sign-On (SSO) using SAML for multiple SaaS applications. Each SaaS provider requires different attribute mappings (for example: email, firstName, lastName, NameID, etc.).
I ...
0
votes
1
answer
41
views
How to generate documentation for multiple files using pydoc
I tried to generate documentation for my python project using pydoc.
My repository looks like this:
main.py
src/
├─ cli.py
├─ ui.py
In the main.py file, I have these imports:
import argparse
import ...
0
votes
1
answer
77
views
macro expand to inner attribute and inner comment
I'm trying to make some stability promises for my library. Ideally I'd like to be able to mark the top of a file as stable/unstable, and emit some things as a result.
Unstable allows unused, and is ...
0
votes
2
answers
55
views
Laravel API: PUT request with multipart/form-data returns empty request when using Swagger or Postman [duplicate]
I'm working on a Laravel 10.x project with an API that allows updating an event using a PUT /events/{id} endpoint. This endpoint accepts multipart/form-data to optionally upload an image and pdf, and ...
0
votes
0
answers
49
views
How to properly integrate cofReason and mada transaction types with Mastercard Gateway API?
I’ve been successfully integrating the Mastercard Gateway API (MPGS) using the official GitHub guide: https://github.com/scriptpapi/MPGS-Integration-Guides-and-Samples/blob/main/docs/direct.md
So far, ...
1
vote
1
answer
402
views
How to write data to a gip device (Xbox Series controller)?
I am working on a C# program that would send a power off packet to my xbox series controller in order to turn it off.
In 2024 Microsoft released GIP docs and as far as I understand Xbox One and Series ...
0
votes
1
answer
49
views
Code block partially highlighted in Sphinx
In my Sphinx documentation I have the following code-block:
.. code-block:: python
import logging
logging.getLogger('mymodule').setLevel(logging.INFO)
but when the documentation is rendered ...
3
votes
1
answer
148
views
Why add redundant `std::constructible_from<T>` to the concept `std::default_initializable`?
At the cppref page on the concept std::default_initializable, I saw the following code:
template<class T>
concept default_initializable =
std::constructible_from<T> && ...
0
votes
0
answers
31
views
Can I label a method in Scaladoc and then link to its documentation?
Linking to overloaded methods is a nightmare, especially since it is typical for argument lists to have common prefixes. Ugly, bug prone, brittle, and current IDEs aren't able to process such ...
0
votes
1
answer
121
views
How should I document Python constants so they are reflected in Intellisense and Sphinx?
I have a file called constants.py where I store all my constants, such as paths PATH_DATASETS = "data/datasets/" or values WIDTH = 416.
They are use multiples times in the code, sometimes as ...
0
votes
1
answer
109
views
Create documentation in Backstage that is not associated with a component
I was wondering if there is some way of creating documentation in Backstage without a component. I would like to create documentation that appears in the Documentation option displayed in the sidebar ...