IssHub
develop
  • About
  • Specifications
  • Internals
    • Git repository
      • Content
      • Branches
      • Tags
      • Commits
        • chore(git): Initial empty commit
        • docs(source): Make links between python files in source and git
        • Merge branch ‘feature/twidi/base-entities’ into develop
        • refactor(core): Rename core domain context to code_repository
        • docs(git): Add git commits to documentation
        • docs(rtd): Add configuration for readthedocs.org
        • style: Add mypy for better code quality
        • feat(namespace): Add Namespace entity a description field
        • docs: Hide “View page source” links
          • Description
            • Abstract
            • Motivation
            • Rationale
          • Info
          • Changes
            • docs/_static/css/custom.css
        • build(python): Update minimal python version to 3.8
        • docs(fix): Fix usage of pydriller in git_to_sphinx
        • docs(source): Reduce white space in toc tree
        • docs(git): Only update remote branches if asked
        • ci: Make the CI do all checks for every commits
        • Merge branch ‘feature/twidi/domain-repository-for-code_repository-context’ into develop
        • tests: Setup testing tools with pytest
        • refactor(namespace): Remove the intermediary _Namespace model
        • feat(repository): Add domain repositories
        • style: Add black and isort to ensure code quality
        • docs(domain): Add diagrams for repositories
        • style(git): Add list of available types in git commit message
        • feat(repository): Add 1st domain context (core) and entity (Repository)
        • feat(namespace): Add Namespace entity in core domain context
        • ci(docs): Make CI job build_doc fail if a warning occurs
        • tests: Remove pure testing tests
        • style: Add flake8 and pylint to ensure code quality
        • style(git): Force format of git commit messages
        • style(github): Use git commit template as github pull request template
        • docs(git): Show source of renamed files
        • style(github): Add github issue templates
        • Merge branch ‘feature/twidi/enhance-source-doc’ into develop
        • docs(make): Add missing command to Makefile help
        • chore: Base of Isshub project
        • docs(source): Rename source index page to Packages
        • docs(examples): Add examples in functions docstring
        • style(mypy): Remove most “type: ignore” pragmas
        • Merge branch ‘feature/twidi/ci’ into develop
        • fix(entity): id changed from int to uuid4, renamed to identifier
        • chore: Fix breaking changes from updated dependencies
        • fix(faker): Handle change of min (to min_value) arg for pyint
        • docs(fix): Fix bad syntax in README
        • Merge branch ‘feature/twidi/fix-commits-in-doc’ into develop
        • feat(repository): Introduce entities validation (for Repository entity)
        • Merge branch ‘feature/twidi/github-templates’ into develop
        • build(make): Remove the dev-upgrade make command (use make dev)
        • docs: Documentation generation
        • docs(git): Explain that git-flow will be used
        • style: Prefix id_is_positive_integer with validate_
        • feat(namespace): Add Namespace entity a kind field
        • docs(source): Lighten source code pages
        • fix(namespace): Namespaces relationships should not create a loop
        • docs(domain): Add diagram of entities for each domain context
        • Temporary circle-ci config
        • style(entity): Change the world “model” by “entity”
        • tests(bdd): Enbrace behavior driven development
        • docs(source): Add emphasis to the first line of docstrings
        • fix(bdd): Rename “can/cannot be none” describing scenarios
        • ci: Run full workflow on develop every day
        • Merge branch ‘feature/twidi/entities-fields-validation’ into develop
        • style(docs): Add comments to doc custom css
        • chore(make): Upgrade pip in dev-upgrade make command
        • fix(entities): Entities id field are frozen once set
        • docs(bdd): Add BDD scenarios to documentation
        • ci: Configuration for circle-ci
    • Python packages
IssHub
  • »
  • IssHub internals »
  • Git repository »
  • Commits »
  • docs: Hide “View page source” links
  • Edit on GitHub

docs: Hide “View page source” links¶

  • Description

  • Info

  • Changes

Description¶

Abstract¶

Apply “display: none” to “View page source” links

Motivation¶

The “View page source” links point to the source updated by the sphinxprettysearchresults sphinx extension so it was not the real sources.

In addition, I don’t see the point of having access to the RST sources.

Rationale¶

Instead of trying to remove them from the source, the chosen solution is a very easy one.

Info¶

Hash

158f592794fc2b99dde316a09cbdb789a970767f

Date

2020-09-25 23:37:12 +0200

Parents
  • docs(source): Lighten source code pages [a94891ff] — 2020-09-25 23:36:45 +0200

Children
  • docs(source): Add emphasis to the first line of docstrings [cc73cb6a] — 2020-09-25 23:37:34 +0200

Branches
  • develop

Tags

(No tags)

Changes¶

  • docs/_static/css/custom.css

docs/_static/css/custom.css¶

Note

View last source and history

Type

Modified

Stats

+4 -0

@@ -1,3 +1,7 @@
+/* Hide "View page source" link (because it links to source used for search) */
+.wy-breadcrumbs-aside {
+    display: none !important;
+}
 /* Hide class attributes because they are duplicate of the class vars found by napoleon plugins
 and those vars are more detailed.
 Side effect: If attributes are not defined in docstrings, they won't appear at all.
Next Previous

© Copyright 2019, Stéphane "Twidi" Angel Revision 21c5c2ff.

Built with Sphinx using a theme provided by Read the Docs.