Skip to content
Snippets Groups Projects
  1. May 27, 2024
  2. Feb 07, 2024
  3. Feb 06, 2024
    • Saurabh Kumar's avatar
      Remove public site (#3738) · 2db6a274
      Saurabh Kumar authored
      
      - Keeps the migrations to delete the public tables
      - Updates and adds a global footer (admin configurable)
      - Update the layout of homepage
      
      Fixes #3110 #3559
      
      
      ## Test Steps
      
      - [ ] Remove the public site, go to "Wagtail Admin" > "Pages", set the
      "Apply Home Page" as the default page of the site. Remove the public
      site page
       - [ ] Do regression of the whole site
      
      ---------
      
      Co-authored-by: default avatarWes Appler <wes@opentech.fund>
      2db6a274
  4. Jan 29, 2024
  5. Nov 27, 2023
  6. Nov 02, 2023
  7. Aug 11, 2023
    • Saurabh Kumar's avatar
      Add pre-commit with black,prettier and djhtml (#3502) · 4ce14204
      Saurabh Kumar authored
      - Add black, djhtml, prettier
      - Add precommit
      
      
      This PR add configurations for black, djhtml and prettier.
      
      - black is used for formatting python files
      - djhtml for formatting html files. Use `{# fmt: off #}` and `{# fmt: on
      #}` where needed.
      - prettier for formatting of sass,css,yml and js files
      
      Note: prettier picks up some of it's config from `.editorconfig`, so
      it's updated appropriately
      
      Formating of mardown files, minified or vendored js files are ignored.
      
      Formatting used off-the-self rules for better consistency with the
      community as large.
      
      The formatting is not applied to all the files as it will introduce a
      lot of merge conflict with
      current PRs, instead `pre-commit` config is provide which can be
      installed by `precommit install`
      locally. It will format only the modified files in the PR/commits. 
      
      Once majority of the current active PRs are either rebased & formatted
      using precommit or merged, we can
      run the `make fmt` on the full repo and activate additional prettier and
      black checks in our lint rules.
      
      The modified sass files fixes the eslint error that would came up if we
      were to apply the prettier formatter on them.
      
      Fixes #3500
      4ce14204
  8. Aug 03, 2023
  9. Jul 15, 2023
  10. Apr 28, 2023
  11. Apr 10, 2023
  12. Mar 14, 2023
  13. Mar 09, 2023
  14. Mar 02, 2023
  15. Feb 02, 2023
    • Saurabh Kumar's avatar
      Refractor documentation site (#3148) · 08be113c
      Saurabh Kumar authored
      - Add page last edited info on each page
      - Update header - site title, repo name & icon
      - Disable custom fonts, use system-fonts
      - Add copyright info in footer
      - Update navigation structure and behaviour
      - Add source code view and edit buttons
      - Refractor documentation
      08be113c
Loading