Server : Apache
System : Linux cp-biz09.syd05.ds.network 3.10.0-962.3.2.lve1.5.88.el7.x86_64 #1 SMP Fri Sep 26 14:06:42 UTC 2025 x86_64
User : thejobfa ( 1684)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /opt/PHP-Antimalware-Scanner/docs/

📁 Create New:
⬆️ Upload File:
Current Dir [ Not Writable ] Root [ Writable ]


OR Upload from URL:
URL: Save as:

📄 File: docusaurus.config.js

Path: //opt/PHP-Antimalware-Scanner/docs/docusaurus.config.js

Size: 4.56 KB

Permissions: 0644

/** @type {import('@docusaurus/types').DocusaurusConfig} */
module.exports = {
  title: "PHP Antimalware Scanner",
  tagline: "Find suspicious PHP code. Review every finding. Act with confidence.",
  url: "https://marcocesarato.github.io",
  baseUrl: "/PHP-Antimalware-Scanner/",
  onBrokenLinks: "throw",
  favicon: "img/favicon.ico",
  organizationName: "marcocesarato", // Usually your GitHub org/user name.
  projectName: "PHP-Antimalware-Scanner", // Usually your repo name.
  i18n: {
    defaultLocale: "en",
    locales: ["en", "it", "de", "fr", "es", "ru", "zh-Hans", "ja", "hi", "ar"],
    localeConfigs: {
      en: { label: "English" },
      it: { label: "Italiano" },
      de: { label: "Deutsch" },
      fr: { label: "Français" },
      es: { label: "Español" },
      ru: { label: "Русский" },
      "zh-Hans": { label: "简体中文" },
      ja: { label: "日本語" },
      hi: { label: "हिन्दी" },
      ar: { label: "العربية", direction: "rtl" },
    },
  },
  themeConfig: {
    navbar: {
      title: "PHP Antimalware Scanner",
      logo: {
        alt: "PHP Antimalware Scanner Logo",
        src: "img/logo.png",
      },
      items: [
        {
          type: "doc",
          docId: "getting-started",
          position: "left",
          label: "Quick start",
        },
        {
          type: "doc",
          docId: "options",
          position: "left",
          label: "CLI",
        },
        {
          type: "doc",
          docId: "extras/programmatically",
          position: "left",
          label: "SDK",
        },
        {
          type: "doc",
          docId: "extras/docker",
          position: "left",
          label: "Docker",
        },
        {
          type: "doc",
          docId: "wordpress-plugin",
          position: "left",
          label: "WordPress",
        },
        {
          type: "docsVersionDropdown",
          position: "right",
          dropdownActiveClassDisabled: true,
        },
        {
          type: "localeDropdown",
          position: "right",
        },
        {
          href: "https://github.com/marcocesarato/PHP-Antimalware-Scanner",
          label: "GitHub",
          position: "right",
          className: "navbar-github-link",
        },
      ],
    },
    footer: {
      style: "light",
      links: [
        {
          title: "Documentation",
          items: [
            { label: "Quick start", to: "/getting-started" },
            { label: "CLI reference", to: "/options" },
            { label: "PHP SDK", to: "/extras/programmatically" },
            { label: "WordPress plugin", to: "/wordpress-plugin" },
          ],
        },
        {
          title: "Project",
          items: [
            {
              label: "Source code",
              href: "https://github.com/marcocesarato/PHP-Antimalware-Scanner",
            },
            {
              label: "Open an issue",
              href: "https://github.com/marcocesarato/PHP-Antimalware-Scanner/issues/new/choose",
            },
            {
              label: "Contribute",
              to: "/how-contribute",
            },
          ],
        },
      ],
      copyright: `PHP Antimalware Scanner. Released under GPL 3.0 or later.`,
    },
  },
  presets: [
    [
      "@docusaurus/preset-classic",
      {
        docs: {
          routeBasePath: "/",
          sidebarPath: require.resolve("./sidebars.js"),
          lastVersion: "current",
          versions: {
            current: {
              label: "Latest",
              path: "",
            },
            "0.21": {
              label: "v0.21",
            },
            "0.20.0": {
              label: "v0.20",
            },
            "0.19.0": {
              label: "v0.19",
            },
            "0.18.0": {
              label: "v0.18",
            },
          },
          editUrl:
            "https://github.com/marcocesarato/PHP-Antimalware-Scanner/edit/master/docs/docs/",
        },
        theme: {
          customCss: require.resolve("./src/css/custom.css"),
        },
      },
    ],
  ],
  plugins: [
    // ... Your other plugins.
    [
      require.resolve("@easyops-cn/docusaurus-search-local"),
      {
        // ... Your options.
        // `hashed` is recommended as long-term-cache of index file is possible.
        hashed: true,
        indexPages: true,
        indexDocs: true,
        // For Docs using Chinese, The `language` is recommended to set to:
        // ```
        // language: ["en", "zh"],
        // ```
        // When applying `zh` in language, please install `nodejieba` in your project.
      },
    ],
  ],
};

← Back to Directory Edit File 🔒 Chmod

WP File Manager