linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@linux.intel.com>
To: Breno Leitao <leitao@debian.org>, linux-doc@vger.kernel.org
Cc: corbet@lwn.net, mchehab@kernel.org, akiyks@gmail.com,
	keescook@chromium.org
Subject: Re: kernel docs: Fast sphinx-build iteration question
Date: Thu, 26 Oct 2023 17:59:34 +0300	[thread overview]
Message-ID: <87edhh77l5.fsf@intel.com> (raw)
In-Reply-To: <ZTpvO3tGOkuq3Q9Q@gmail.com>

On Thu, 26 Oct 2023, Breno Leitao <leitao@debian.org> wrote:
> I am working to build a sphinx extension in order to parse some network
> netlink YAML.
>
> I am struggling with the time it takes for sphinx-build to build a
> single file and run my extension (Directive). Mainly because I need to
> remove the `.doctrees` cache directory.
>
> Is there an faster way to iterate while writing an extension?

Develop it as a standalone extension, outside of the kernel tree, and
test using a single page?

Once you're done, add it to kernel.

BR,
Jani.


-- 
Jani Nikula, Intel

      parent reply	other threads:[~2023-10-26 14:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-26 13:52 kernel docs: Fast sphinx-build iteration question Breno Leitao
2023-10-26 14:07 ` Jonathan Corbet
2023-10-26 14:59 ` Jani Nikula [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87edhh77l5.fsf@intel.com \
    --to=jani.nikula@linux.intel.com \
    --cc=akiyks@gmail.com \
    --cc=corbet@lwn.net \
    --cc=keescook@chromium.org \
    --cc=leitao@debian.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=mchehab@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).