Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sage documentation search page broken #29576

Closed
antonio-rojas opened this issue Apr 25, 2020 · 17 comments
Closed

Sage documentation search page broken #29576

antonio-rojas opened this issue Apr 25, 2020 · 17 comments

Comments

@antonio-rojas
Copy link
Contributor

Go to
https://doc.sagemath.org/html/en/reference/search.html?q=modules

and see the many [object Object] labels throughout the page.

CC: @jcamp0x2a @kwankyu @haraldschilly @slel @williamstein

Component: documentation

Keywords: online_documentation, search, js

Branch/Commit: u/klee/29576 @ 74d1330

Reviewer: Matthias Koeppe

Issue created by migration from https://trac.sagemath.org/ticket/29576

@antonio-rojas antonio-rojas added this to the sage-9.1 milestone Apr 25, 2020
@mkoeppe mkoeppe modified the milestones: sage-9.1, sage-9.2 May 17, 2020
@slel
Copy link
Member

slel commented Oct 2, 2020

Changed keywords from none to online_documentation, search, js

@slel
Copy link
Member

slel commented Oct 2, 2020

comment:4

Restoring the online documentation's search box
seems critical to me.

Can anyone help with that?

@mkoeppe mkoeppe modified the milestones: sage-9.2, sage-9.3 Oct 24, 2020
@kwankyu
Copy link
Collaborator

kwankyu commented Apr 14, 2021

comment:7

Replying to @slel:

Restoring the online documentation's search box
seems critical to me.

Can anyone help with that?

What is the normal result of the search box? What should be shown? Would you explain?

@mkoeppe
Copy link
Contributor

mkoeppe commented May 10, 2021

comment:8

Moving to 9.4, as 9.3 has been released.

@mkoeppe mkoeppe modified the milestones: sage-9.3, sage-9.4 May 10, 2021
@mkoeppe mkoeppe modified the milestones: sage-9.4, sage-9.5 Aug 22, 2021
@mkoeppe
Copy link
Contributor

mkoeppe commented Nov 11, 2021

comment:10

Reported again in https://groups.google.com/g/sage-devel/c/FxjVDtqxw1U/m/t_K6IDjUAAAJ

@mkoeppe
Copy link
Contributor

mkoeppe commented Nov 11, 2021

comment:11

See also: #31415

@kwankyu
Copy link
Collaborator

kwankyu commented Nov 11, 2021

Branch: u/klee/29576

@kwankyu
Copy link
Collaborator

kwankyu commented Nov 11, 2021

Author: Kwankyu Lee

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Nov 11, 2021

Commit: 74d1330

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Nov 11, 2021

Branch pushed to git repo; I updated commit sha1. New commits:

74d1330Revive search in documentation

@kwankyu
Copy link
Collaborator

kwankyu commented Nov 11, 2021

comment:14

The patch revives search page.

For this, I had to turn off Thebe (see changes in layout.html), which seems to conflict with underline.js. Actually it seems old Thebe javascript file is to blame, as with the latest one from CDN works fine with the search page.

I am not sure if Thebe still works with Sage. See related #24593. If we cannot turn off Thebe, then please provide updated javascript (here or to #24593).

@kwankyu
Copy link
Collaborator

kwankyu commented Nov 11, 2021

comment:16

What I did is mostly to make our customized layout.html and search.html to be close to original ones from Sphinx.

@kwankyu kwankyu changed the title Missing js objects on doc search page Sage documentation search page broken Nov 12, 2021
@jhpalmieri
Copy link
Member

comment:18

See also #32854.

@slel
Copy link
Member

slel commented Jan 30, 2022

comment:19

Set milestone to sage-9.6 after Sage 9.5 release.

@slel slel modified the milestones: sage-9.5, sage-9.6 Jan 30, 2022
@kwankyu
Copy link
Collaborator

kwankyu commented Feb 10, 2022

comment:20

The code in this ticket is now merged to the branch of #33309. Hence we close this ticket.

@kwankyu kwankyu removed this from the sage-9.6 milestone Feb 10, 2022
@mkoeppe
Copy link
Contributor

mkoeppe commented Feb 13, 2022

Changed author from Kwankyu Lee to none

@mkoeppe
Copy link
Contributor

mkoeppe commented Feb 13, 2022

Reviewer: Matthias Koeppe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants