From 742f15fb1898bf76742e9ee6d691cc0bff780c67 Mon Sep 17 00:00:00 2001 From: Saran Tunyasuvunakool Date: Wed, 11 Oct 2023 03:21:02 -0700 Subject: [PATCH] Add redirects for {computation,programming,APIreference}.html. This prevents us from breaking existing URLs pointing to computation.html before we turned it into a directory. PiperOrigin-RevId: 572522650 Change-Id: Ib0e6679099be38b002777c08ffa647c9902439a9 --- doc/conf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/conf.py b/doc/conf.py index 0c200d21..53c6d9a5 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -74,6 +74,9 @@ exclude_patterns = [ redirects = { # index.rst just contains the table of contents definition. 'index': 'overview.html', + 'computation': 'computation/index.html', + 'programming': 'programming/index.html', + 'APIreference': 'APIreference/index.html', } rst_prolog = """